summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-08-28 06:57:42 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-28 06:57:42 -0700
commitbf838b2d95325929f1901fbdef0422e88ce36ea5 (patch)
treeea501061fb796b1dd0d8e1d91fa27e57bba44b41
parentb32222c4233d57fdccba184e314b660bebc3c74f (diff)
parent8847debdfe3f453fb027b16ceaa09765098af661 (diff)
Merge "Mount writable blocks with noatime option."
-rwxr-xr-xfstab_AB_variant.qcom2
-rwxr-xr-xfstab_non_AB_variant.qcom4
-rw-r--r--init.target.rc2
3 files changed, 4 insertions, 4 deletions
diff --git a/fstab_AB_variant.qcom b/fstab_AB_variant.qcom
index aa1a9b0..681e83f 100755
--- a/fstab_AB_variant.qcom
+++ b/fstab_AB_variant.qcom
@@ -8,7 +8,7 @@
# A/B fstab.qcom variant
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1,discard wait,slotselect,verify
-/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,lazytime wait,check,forceencrypt=footer,crashcheck
+/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait,check,forceencrypt=footer,crashcheck
/devices/soc/c084000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
diff --git a/fstab_non_AB_variant.qcom b/fstab_non_AB_variant.qcom
index a0fd53d..9f7736c 100755
--- a/fstab_non_AB_variant.qcom
+++ b/fstab_non_AB_variant.qcom
@@ -7,11 +7,11 @@
# Non-A/B fstab.qcom variant
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
-/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,lazytime wait,check,forceencrypt=footer,crashcheck
+/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime wait,check,forceencrypt=footer,crashcheck
/devices/soc/c084000.sdhci/mmc_host* /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/bluetooth /bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait
/devices/soc/a800000.ssusb/a800000.dwc3/xhci-hcd.0.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto
/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev,barrier=1 wait
-/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait
+/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
diff --git a/init.target.rc b/init.target.rc
index 21fbfb7..db1415d 100644
--- a/init.target.rc
+++ b/init.target.rc
@@ -52,7 +52,7 @@ on fs
# results in failure to launch late-start class.
wait /dev/block/bootdevice/by-name/persist
- mount ext4 /dev/block/bootdevice/by-name/persist /persist nosuid nodev barrier=1
+ mount ext4 /dev/block/bootdevice/by-name/persist /persist nosuid nodev noatime barrier=1
mkdir /persist/data 0700 system system
mkdir /persist/bms 0700 root system
restorecon_recursive /persist