aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit4
1 files changed, 3 insertions, 1 deletions
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