From ebb3ccd22206eaaa88726cce4a9bd13f0ae27a2b Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 26 Aug 2013 21:07:13 -0400 Subject: [PATCH] Mount all partitions with the noatime option --- stage1/create-config-files | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stage1/create-config-files b/stage1/create-config-files index 8fa08ce..b206749 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -10,7 +10,7 @@ EOF if [ -n "${BOOT_PARTITION}" ]; then install -v -m755 -d ${LFS}/mnt/boot - echo "${BOOT_PARTITION} /mnt/boot auto defaults 0 0" >> ${LFS}/etc/fstab + echo "${BOOT_PARTITION} /mnt/boot auto defaults,noatime 0 0" >> ${LFS}/etc/fstab fi if [ -n "${SWAP_PARTITION}" ]; then echo "${SWAP_PARTITION} none swap sw 0 0" >> ${LFS}/etc/fstab @@ -20,8 +20,8 @@ echo "${LFS_PARTITION} / auto defaults,noatime 0 0" >> ${LFS}/e cat >> ${LFS}/etc/fstab << "EOF" proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 -tmpfs /run tmpfs defaults 0 0 -tmpfs /tmp tmpfs defaults,mode=1777,size=_TMP_PARTITION_SIZE_ 0 0 +tmpfs /run tmpfs defaults,noatime 0 0 +tmpfs /tmp tmpfs defaults,,noatime,mode=1777,size=_TMP_PARTITION_SIZE_ 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0 shm /dev/shm tmpfs defaults 0 0 -- 2.20.1