diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-19 16:07:46 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-19 16:07:46 +0000 |
commit | 53edda1e3668752d18b2bbf4c3d6edc7e3ab1b6e (patch) | |
tree | b94fb7ac00524d0705ef8265df341a2a596e7a20 /target/linux/x86 | |
parent | c577d7187dc330a462d6917e7b92e43400015e22 (diff) |
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')
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 ba22849d1..5d5453093 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 be342433d..e4a380fd5 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 7eb8bf795..7b0760516 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 } } |