diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-02-14 14:51:40 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-02-14 14:51:40 -0600 |
commit | ccc90d4d211a61a21c835c1e51c807ddd485a136 (patch) | |
tree | b3df17658ad4abf1f3d139184b045a63797e8018 | |
parent | 9673449ac0af77751eab62423114f27e7dbc497c (diff) | |
download | initscripts-ccc90d4d211a61a21c835c1e51c807ddd485a136.tar.xz |
Add support for (un)mounting nfs4
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | netfs | 4 | ||||
-rwxr-xr-x | rc.sysinit | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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" |