diff options
author | Mirko Vogt <mirko@openwrt.org> | 2012-12-19 16:07:46 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2012-12-19 16:07:46 +0000 |
commit | 439a869090282f229cf0edb41cc2d6e94f02b5c2 (patch) | |
tree | 566a9d008c55d34f6acf6734d220dcd0a9490177 /target/linux/x86 | |
parent | ec9ce7e0890276486776a1d0862f0e6ce7ede577 (diff) | |
download | upstream-439a869090282f229cf0edb41cc2d6e94f02b5c2.tar.gz upstream-439a869090282f229cf0edb41cc2d6e94f02b5c2.tar.bz2 upstream-439a869090282f229cf0edb41cc2d6e94f02b5c2.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'.
SVN-Revision: 34792
Diffstat (limited to 'target/linux/x86')
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 } } |