From: Hugo Villeneuve Date: Tue, 27 Aug 2013 01:07:13 +0000 (-0400) Subject: Mount all partitions with the noatime option X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ebb3ccd22206eaaa88726cce4a9bd13f0ae27a2b;p=hvlinux.git Mount all partitions with the noatime option --- 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