Prior to ZFSv15, volinit was an undocumented command which could be used to
populate /dev with zvol device nodes. Following on with the recent ZFS/DTrace update, this is no longer a valid option and causes the mountall script to barf zfs usage() following from unrecognized command 'volinit' error.
This commit is contained in:
parent
262c7ccc67
commit
66fd14939a
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: mountall,v 1.9 2014/07/22 17:11:09 wiz Exp $
|
||||
# $NetBSD: mountall,v 1.10 2018/06/08 14:44:21 sevan Exp $
|
||||
#
|
||||
|
||||
# REQUIRE: mountcritremote named ypbind
|
||||
|
@ -18,8 +18,6 @@ mountall_start()
|
|||
if [ -f /etc/zfs/zpool.cache ]; then
|
||||
# Get ZFS module loaded (and thereby, zvols created).
|
||||
zfs list > /dev/null 2>&1
|
||||
# Initialize zvols so they can be mounted
|
||||
zfs volinit
|
||||
# Mount file systems noted in fstab.
|
||||
mount -a
|
||||
# Mount ZFS file systems.
|
||||
|
|
Loading…
Reference in New Issue