Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Prior to ZFSv15, volinit was an undocumented comman...



details:   https://anonhg.NetBSD.org/src/rev/1f577f805977
branches:  trunk
changeset: 323306:1f577f805977
user:      sevan <sevan%NetBSD.org@localhost>
date:      Fri Jun 08 14:44:21 2018 +0000

description:
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.

diffstat:

 etc/rc.d/mountall |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r f2c04f90491f -r 1f577f805977 etc/rc.d/mountall
--- a/etc/rc.d/mountall Fri Jun 08 12:07:41 2018 +0000
+++ b/etc/rc.d/mountall Fri Jun 08 14:44:21 2018 +0000
@@ -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 @@
        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.



Home | Main Index | Thread Index | Old Index