aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-11-29 20:38:46 +0000
committerBill Nottingham <notting@redhat.com>2004-11-29 20:38:46 +0000
commitbc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed (patch)
treecbba960a18505128a3a2854ab998db4da29aa25d /rc.d/rc.sysinit
parent79a54dbd48dc71df059a892ec21f2843bad685f1 (diff)
downloadinitscripts-bc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed.tar
initscripts-bc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed.tar.gz
initscripts-bc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed.tar.bz2
initscripts-bc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed.tar.xz
initscripts-bc4a8ff13d3fcce9901eb1d89f9f7da79bc593ed.zip
fix mtab writing (#139656)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 5 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 6b7c57e8..054750e3 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -466,7 +466,11 @@ fi
rm -f /etc/mtab~ /etc/mtab~~
# Enter mounted filesystems into /etc/mtab
-mount -a -f
+mount -f /
+mount -f /proc
+mount -f /sys
+mount -f /dev/pts
+mount -f /proc/bus/usb
# Mount all other filesystems (except for NFS and /proc, which is already
# mounted). Contrary to standard usage,