diff options
author | Judd Vinet <judd@archlinux.org> | 2004-07-21 22:15:59 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-07-21 22:15:59 +0000 |
commit | 9f5d7b15d7b58b7a3d80a8923a2ff1952c90966a (patch) | |
tree | ae42eae57e8a01907afe2cb17efd75253d2f2718 /rc.sysinit | |
parent | ef0a365fc88fd1b02883dd42e0afb0929fbfa3f4 (diff) | |
download | initscripts-9f5d7b15d7b58b7a3d80a8923a2ff1952c90966a.tar.xz |
re-mount /sys and /proc once / is rw so the entries can be written to /etc/mtab
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |