]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/initscripts/init.d/mountfs
2 ########################################################################
3 # Begin $rc_base/init.d/mountfs
5 # Description : File System Mount Script
7 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org
13 ########################################################################
20 boot_mesg
"Remounting root file system in read-write mode..."
21 mount
-n -o remount
,rw
/ &>/dev
/null
24 # Remove fsck-related file system watermarks.
25 rm -f /fastboot
/forcefsck
27 boot_mesg
"Create /etc/mtab..."
29 mount
-f / || failed
=1
33 # This will mount all filesystems that do not have _netdev in
34 # their option list. _netdev denotes a network filesystem.
35 boot_mesg
"Mounting remaining file systems..."
36 mount
-a -O no_netdev
&>/dev
/null
41 boot_mesg
"Syncing discs..."
47 boot_mesg
"Unmounting all other currently mounted file systems..."
48 umount
-a -d -r &>/dev
/null
52 echo "Usage: ${0} {start|stop}"
57 # End $rc_base/init.d/mountfs