summaryrefslogtreecommitdiff
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
parent286148ccc99630bb60168e27b6aba1b14c1f737f (diff)
downloadinitramfs-tools-5489c2f911a1259e9ad7ccdb5b90af529f912ffa.tar.gz
initramfs-tools-5489c2f911a1259e9ad7ccdb5b90af529f912ffa.zip
init: Fix mount options invocation for klibc mount.
-rw-r--r--debian/changelog3
-rwxr-xr-xinit4
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index da0b63e..5d42ec6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ initramfs-tools (0.91) unstable; urgency=low
* scripts/functions: simplify panic()
* mkinitramfs: Kick empty dir modules.
* hook-functions: Factor sys_walk_mod_add() out of dep_add_modules().
+ * init: Fix mount options invocation for klibc mount.
- -- maximilian attems <maks@debian.org> Thu, 16 Aug 2007 10:06:09 +0200
+ -- maximilian attems <maks@debian.org> Tue, 21 Aug 2007 17:08:48 +0200
initramfs-tools (0.90) unstable; urgency=low
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