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.
This commit is contained in:
parent
a8b1dd7809
commit
0491126758
1 changed files with 1 additions and 1 deletions
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue