aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/10_essential_fs
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/preinit/10_essential_fs')
-rw-r--r--package/base-files/files/lib/preinit/10_essential_fs6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/lib/preinit/10_essential_fs b/package/base-files/files/lib/preinit/10_essential_fs
index 5d979fd49a..fc04eb7ff3 100644
--- a/package/base-files/files/lib/preinit/10_essential_fs
+++ b/package/base-files/files/lib/preinit/10_essential_fs
@@ -3,11 +3,11 @@
# Copyright (C) 2010 Vertical Communications
do_mount_procfs() {
- mount -t proc proc /proc
+ mount -o noatime -t proc proc /proc
}
do_mount_sysfs() {
- mount -t sysfs sysfs /sys
+ mount -o noatime -tsysfs sysfs /sys
}
calc_tmpfs_size() {
@@ -16,7 +16,7 @@ calc_tmpfs_size() {
do_mount_tmpfs() {
calc_tmpfs_size
- mount -t tmpfs -o size=$pi_size,nosuid,nodev,mode=1777 tmpfs /tmp
+ mount -o noatime -t tmpfs -o size=$pi_size,nosuid,nodev,mode=1777 tmpfs /tmp
}
boot_hook_add preinit_essential do_mount_procfs