diff options
author | Ziyan <jaraidaniel@gmail.com> | 2014-11-27 19:56:50 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2014-12-13 00:39:23 +0100 |
commit | f4d6bd93dc0010cd69ef463bd812398743c0eafd (patch) | |
tree | 23e4dd9d7ed6f58329c40ba6327c69a2e551b725 /rootdir/fstab.tuna | |
parent | a268a90a8d7a1a681864d535835da3a18a61a8f9 (diff) | |
download | device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.zip device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.tar.gz device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.tar.bz2 |
tuna: simplify /factory partition handling
Currently, we do the following sequence on every bootup:
1. mount /factory ro (fstab)
2. remount /factory as rw
3. update selinux labels on the partition
4. remount /factory as ro
By mounting /factory in rw mode from the fstab, we can avoid the second step,
simplifying the bootup sequence.
Also replaced the restorecons with one restorecon_recursive,
which does the same task in one line.
And lastly, removed some unnecessary chown/chmods - remounting
does not overwrite the permissions and the owner.
Diffstat (limited to 'rootdir/fstab.tuna')
-rw-r--r-- | rootdir/fstab.tuna | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/fstab.tuna b/rootdir/fstab.tuna index 9ae0928..d89b422 100644 --- a/rootdir/fstab.tuna +++ b/rootdir/fstab.tuna @@ -5,7 +5,7 @@ /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ext4 ro wait -/dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 ro wait +/dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 rw wait /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata /dev/block/platform/omap/omap_hsmmc.0/by-name/misc /misc emmc defaults defaults |