Module Name: src Committed By: sevan Date: Fri Jun 8 14:44:21 UTC 2018
Modified Files: src/etc/rc.d: mountall Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/etc/rc.d/mountall Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/mountall diff -u src/etc/rc.d/mountall:1.9 src/etc/rc.d/mountall:1.10 --- src/etc/rc.d/mountall:1.9 Tue Jul 22 17:11:09 2014 +++ src/etc/rc.d/mountall Fri Jun 8 14:44:21 2018 @@ -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.