From e2ee36ac9ef274d40b99967320bd3169c36479f0 Mon Sep 17 00:00:00 2001 From: Marco Lima Date: Thu, 30 Jul 2009 13:49:44 -0700 Subject: 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 --- rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.sysinit') 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 -- cgit v1.2.3