From 20dceb289f61b69a98c6377921ee2a009aeefd98 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Fri, 23 Jul 2004 01:03:08 +0000 Subject: re-mounted / after removing /etc/mtab, so it's written to mtab properly --- rc.sysinit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc.sysinit b/rc.sysinit index 2214534..eeda7f3 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -81,10 +81,12 @@ fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / /bin/rm -f /etc/mtab* +# make sure / gets written to /etc/mtab +/bin/mount -o remount,rw / # re-mount /proc and /sys so they can be written to /etc/mtab umount /proc && mount -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys -# now mount all local mounts in /etc/fstab +# now mount all the local filesystems /bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs stat_done -- cgit v1.2.3