2 # mountall.sh Mount all filesystems.
4 # Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl
9 # Mount local filesystems in /etc/fstab. For some reason, people
10 # might want to mount "proc" several times, and mount -v complains
11 # about this. So we mount "proc" filesystems without -v.
13 test "$VERBOSE" != no && echo "Mounting local filesystems..."
14 mount -at nonfs,nosmbfs,noncpfs 2>/dev/null
17 # We might have mounted something over /dev, see if /dev/initctl is there.
19 if test ! -p /dev/initctl
22 mknod -m 600 /dev/initctl p
27 # Execute swapon command again, in case we want to swap to
28 # a file on a now mounted filesystem.
33 if grep -qs resync /proc/mdstat
41 swapon -a 2> /dev/null