commit b98f6250be41ca5964fb95db69d8bc07dbbe77bd Author: Emil Renner Berthing Date: Thu Jan 20 13:23:12 2011 +0100 Use mount -f to write mtab entry for / diff --git a/rc.sysinit b/rc.sysinit index 44238fa..daeff2c 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -260,10 +260,11 @@ fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / if [ -x /bin/findmnt -a -e /proc/self/mountinfo ]; then - /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab + /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS -i -T / >| /etc/mtab else cat /proc/mounts >| /etc/mtab fi +/bin/mount -f -o remount / run_hook sysinit_premount # now mount all the local filesystems /bin/mount -a -t $NETFS -O no_netdev