diff options
author | Marco Lima <cipparello@gmail.com> | 2009-07-30 13:49:44 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-30 13:49:44 -0700 |
commit | e2ee36ac9ef274d40b99967320bd3169c36479f0 (patch) | |
tree | 69f2803a4c9b93289d4e357ae174f15fc597a3a2 /rc.sysinit | |
parent | abeacaed86e297923bd69de597a7e30dbf3cb990 (diff) | |
download | initscripts-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-x | rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |