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..."
15 #t nonfs,nosmbfs,noncpfs 2>/dev/null
18 # We might have mounted something over /dev, see if /dev/initctl is there.
20 if test ! -p /dev
/initctl
23 mknod
-m 600 /dev
/initctl p
28 # Execute swapon command again, in case we want to swap to
29 # a file on a now mounted filesystem.
34 if grep -qs resync
/proc
/mdstat
42 swapon
-a 2> /dev
/null