aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorMarco Lima <cipparello@gmail.com>2009-07-30 13:49:44 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-30 13:49:44 -0700
commite2ee36ac9ef274d40b99967320bd3169c36479f0 (patch)
tree69f2803a4c9b93289d4e357ae174f15fc597a3a2 /rc.sysinit
parentabeacaed86e297923bd69de597a7e30dbf3cb990 (diff)
downloadinitscripts-e2ee36ac9ef274d40b99967320bd3169c36479f0.tar.xz
Add _netdev support to netfs (also add glusterfs support)
The system-wide mount will no longer mount items in fstab marked as _netdev (requires a network device). These _netdev items are handled by the netfs daemon now. Additionally, add support for glusterfs :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 298f446..160f70e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -233,7 +233,7 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro /
FORCEFSCK=
[ -f /forcefsck ] && FORCEFSCK="-- -f"
-NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuseblk"
+NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuseblk,noglusterfs"
fsck_reboot() {
echo "Automatic reboot in progress..."
@@ -291,7 +291,7 @@ if [ -e /proc/mounts ]; then
/bin/grep -e "/proc " -e "/sys " -e "/dev " /proc/mounts >> /etc/mtab
fi
# now mount all the local filesystems
-/bin/mount -a -t $NETFS
+/bin/mount -a -t $NETFS -O no_netdev
stat_done
status "Activating Swap" /sbin/swapon -a