diff options
author | Chris Fries <cfries@motorola.com> | 2014-10-28 11:07:07 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2014-10-31 14:55:11 -0700 |
commit | bf09b4d0ff34f10bfa27c5edb27f368ffe1e4ca6 (patch) | |
tree | c59358c65c056a3658075d6476439050ab3c3ca3 /fstab.shamu | |
parent | cdb25777d1feb98fa569c3c211b8bfdd36b60330 (diff) | |
download | shamu-bf09b4d0ff34f10bfa27c5edb27f368ffe1e4ca6.tar.gz |
fstab/init: Move "persist" mounting to fstab and fsck it
Mount persist in fstab.
This has the advantage that we can specify "check" and get fsck done
on this read-write partition.
The disadvantage, is that a persist mount failure is catastropic to the
end user (without persist, you might have been able to use it as a wifi
tablet, but modem and sensors would likely break.)
Bug: 18151232
Change-Id: If3a3f6dd27f0dba8b8d0acb46500b67145682137
Diffstat (limited to 'fstab.shamu')
-rw-r--r-- | fstab.shamu | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fstab.shamu b/fstab.shamu index 3986190e..95b07355 100644 --- a/fstab.shamu +++ b/fstab.shamu @@ -1,15 +1,13 @@ # Android fstab file. # The filesystem that contains the filesystem checker binary (typically /system) cannot # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK - -#TODO: Add 'check' as fs_mgr_flags with data partition. -# Currently we dont have e2fsck compiled. So fs check would failed. - +# #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait /dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,nobarrier wait,check,forceencrypt=/dev/block/platform/msm_sdcc.1/by-name/metadata /dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,noatime,nosuid,nodev,barrier=1,data=ordered wait,check /dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,barrier=1,context=u:object_r:firmware_file:s0 wait +/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,barrier=1 wait,check /dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults /dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults /dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults |