This script just makes sure that the ZFS module loads and unloads, mountall
script takes care of mounting filesystems. Don't try to unmount all file systems before unloading the ZFS module, leave that to the operator in preperation or the mountall script to take care of. Module will of course fail to unload then if file systems are still mounted.
This commit is contained in:
parent
3582b90734
commit
a8ffec0052
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: zfs,v 1.4 2019/12/08 00:58:16 sevan Exp $
|
||||
# $NetBSD: zfs,v 1.5 2019/12/09 00:11:32 sevan Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: zfs
|
||||
@ -29,7 +29,6 @@ zfs_start()
|
||||
zfs_stop()
|
||||
{
|
||||
if [ -x /sbin/zfs ]; then
|
||||
zfs unmount -a
|
||||
modunload zfs
|
||||
fi
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user