From 8847debdfe3f453fb027b16ceaa09765098af661 Mon Sep 17 00:00:00 2001 From: Bulbul Dabi Date: Mon, 28 Aug 2017 13:45:42 +0530 Subject: Mount writable blocks with noatime option. Mount writable blocks - /data, /persist and /cache with noatime option so that atime information for read is not updated. Fix for CTS failure: testNoAtime. Change-Id: I69ba74fb788f907fc1ad94ed231fa6f2298722a3 --- init.target.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.target.rc') 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 -- cgit v1.2.3