]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't update mtab upon mounting procfs
authorThomas Veerman <thomas@minix3.org>
Tue, 14 Feb 2012 15:44:21 +0000 (15:44 +0000)
committerThomas Veerman <thomas@minix3.org>
Tue, 14 Feb 2012 17:23:36 +0000 (17:23 +0000)
It causes an ugly error message when booting from cd and it gets
overwritten by `printroot >/etc/mtab` in /etc/rc anyway.

drivers/ramdisk/rc

index 165dd0217f0ae0d213b44b434dfca2a8c7cb1e02..0398db78986e1a85b4da9272cd22bacf0fa44413 100644 (file)
@@ -72,6 +72,6 @@ if [ -e $FSCK ]
 then   $FSCK -p $rootdevname
 fi
 /bin/newroot $bin_img"$rootdevname"
-/bin/mount -e -t procfs none /proc || echo "WARNING: couldn't mount procfs"
+/bin/mount -e -n -t procfs none /proc || echo "WARNING: couldn't mount procfs"
 
 exec /bin/sh /etc/rc "$@"