aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:46 +0000
committerMirko Vogt <mirko@openwrt.org>2012-12-19 16:07:46 +0000
commitfd18877418cf14f6bc2b413a238a3ca5f6d9ad94 (patch)
treeb94fb7ac00524d0705ef8265df341a2a596e7a20 /target/linux/x86
parent667779e4f8fa3749d0867908c4bae53b0471e961 (diff)
downloadmaster-187ad058-fd18877418cf14f6bc2b413a238a3ca5f6d9ad94.tar.gz
master-187ad058-fd18877418cf14f6bc2b413a238a3ca5f6d9ad94.tar.bz2
master-187ad058-fd18877418cf14f6bc2b413a238a3ca5f6d9ad94.zip
Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/base-files/lib/preinit/15_essential_fs_x862
-rw-r--r--target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x864
-rw-r--r--target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs2
3 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/x86/base-files/lib/preinit/15_essential_fs_x86 b/target/linux/x86/base-files/lib/preinit/15_essential_fs_x86
index ba22849d1e..5d5453093f 100644
--- a/target/linux/x86/base-files/lib/preinit/15_essential_fs_x86
+++ b/target/linux/x86/base-files/lib/preinit/15_essential_fs_x86
@@ -3,6 +3,6 @@
# Copyright (C) 2010 Vertical Communications
do_mount_procfs() {
- mount -t proc none /proc
+ mount -o noatime -t proc none /proc
}
diff --git a/target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x86 b/target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x86
index be342433d2..e4a380fd5f 100644
--- a/target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x86
+++ b/target/linux/x86/olpc/base-files/lib/preinit/15_essential_fs_x86
@@ -3,7 +3,5 @@
# Copyright (C) 2010 Vertical Communications
do_mount_procfs() {
- mount -t proc none /proc
+ mount -o noatime -t proc none /proc
}
-
-
diff --git a/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs b/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs
index 7eb8bf7958..7b0760516e 100644
--- a/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs
+++ b/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs
@@ -4,7 +4,7 @@
do_mount_xenfs() {
[ -f /etc/modules.d/??-xenfs ] && {
insmod $(cat /etc/modules.d/??-xenfs)
- mount none /proc/xen -t xenfs
+ mount -o noatime none /proc/xen -t xenfs
}
}