From ccc90d4d211a61a21c835c1e51c807ddd485a136 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Thu, 14 Feb 2008 14:51:40 -0600 Subject: Add support for (un)mounting nfs4 Signed-off-by: Roman Kyrylych Signed-off-by: Aaron Griffin --- netfs | 4 ++-- rc.sysinit | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/netfs b/netfs index 4a8a309..c381594 100755 --- a/netfs +++ b/netfs @@ -6,7 +6,7 @@ case "$1" in start) stat_busy "Mounting Network Filesystems" - /bin/mount -a -t nfs,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk + /bin/mount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk if [ $? -gt 0 ]; then stat_fail else @@ -16,7 +16,7 @@ case "$1" in ;; stop) stat_busy "Unmounting Network Filesystems" - umount -a -t nfs,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk + umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk if [ $? -gt 0 ]; then stat_fail else diff --git a/rc.sysinit b/rc.sysinit index dabeb9d..6dc07ae 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -243,7 +243,7 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro / FORCEFSCK= [ -f /forcefsck ] && FORCEFSCK="-- -f" -NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk" +NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk" if [ -x /sbin/fsck ]; then stat_busy "Checking Filesystems" -- cgit v1.2.3