summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2007-08-21 17:09:32 +0200
committermaximilian attems <maks@debian.org>2007-08-21 17:09:32 +0200
commit5489c2f911a1259e9ad7ccdb5b90af529f912ffa (patch)
tree386c2db3d5e39a7af2d3108e66d91be24c4afce4 /init
parent286148ccc99630bb60168e27b6aba1b14c1f737f (diff)
downloadinitramfs-tools-5489c2f911a1259e9ad7ccdb5b90af529f912ffa.tar.gz
initramfs-tools-5489c2f911a1259e9ad7ccdb5b90af529f912ffa.zip
init: Fix mount options invocation for klibc mount.
Diffstat (limited to 'init')
-rwxr-xr-xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 0da01d4..3ea9ef4 100755
--- a/init
+++ b/init
@@ -8,8 +8,8 @@ echo "Loading, please wait..."
[ -d /proc ] || mkdir /proc
[ -d /tmp ] || mkdir /tmp
mkdir -p /var/lock
-mount -t sysfs none /sys -o nodev,noexec,nosuid
-mount -t proc none /proc -o nodev,noexec,nosuid
+mount -t sysfs -o nodev,noexec,nosuid none /sys
+mount -t proc -o nodev,noexec,nosuid none /proc
# Note that this only becomes /dev on the real filesystem if udev's scripts
# are used; which they will be, but it's worth pointing out