diff options
author | Judd Vinet <judd@archlinux.org> | 2004-07-23 01:03:08 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-07-23 01:03:08 +0000 |
commit | 20dceb289f61b69a98c6377921ee2a009aeefd98 (patch) | |
tree | 6c7e12147cae05bf756d0b6703cf33d1d97c2424 /rc.sysinit | |
parent | 9f5d7b15d7b58b7a3d80a8923a2ff1952c90966a (diff) | |
download | initscripts-20dceb289f61b69a98c6377921ee2a009aeefd98.tar.xz |
re-mounted / after removing /etc/mtab, so it's written to mtab properly
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |