projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9652526
)
Mount all partitions with the noatime option
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 27 Aug 2013 01:07:13 +0000
(21:07 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:23 +0000
(22:15 -0400)
stage1/create-config-files
patch
|
blob
|
history
diff --git
a/stage1/create-config-files
b/stage1/create-config-files
index
8fa08ce
..
b206749
100755
(executable)
--- 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
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
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
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
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0