From 049112675884d9459b03375d3259844554ac8705 Mon Sep 17 00:00:00 2001 From: Thomas Veerman Date: Tue, 14 Feb 2012 15:44:21 +0000 Subject: [PATCH] Don't update mtab upon mounting procfs 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ramdisk/rc b/drivers/ramdisk/rc index 165dd0217..0398db789 100644 --- a/drivers/ramdisk/rc +++ b/drivers/ramdisk/rc @@ -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 "$@" -- 2.44.0