From 9f5d7b15d7b58b7a3d80a8923a2ff1952c90966a Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Wed, 21 Jul 2004 22:15:59 +0000 Subject: re-mount /sys and /proc once / is rw so the entries can be written to /etc/mtab --- rc.sysinit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc.sysinit b/rc.sysinit index a6140e5..2214534 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -81,6 +81,10 @@ fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / /bin/rm -f /etc/mtab* +# 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 /bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs stat_done -- cgit v1.2.3