]> git.proxmox.com Git - mirror_zfs.git/commit
Allow for '-o feature@<feature>=disabled' on the command line
authorLOLi <loli10K@users.noreply.github.com>
Tue, 25 Oct 2016 23:17:47 +0000 (01:17 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 25 Oct 2016 23:17:47 +0000 (16:17 -0700)
commite4010f2719e3381ae15563d50b99e51ffe2b2168
tree9504e43ef804991a8f576d8df29339738692d711
parent16fa68f07d268192552693f83a747c9141ea726b
Allow for '-o feature@<feature>=disabled' on the command line

Sometimes it is desirable to specifically disable one or several
features directly on the 'zpool create' command line.

$ zpool create -o feature@<feature>=disabled ...

Original-patch-by: Turbo Fredriksson <turbo@bayour.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #3460
Closes #5142
Closes #5324
cmd/zpool/zpool_main.c
lib/libzfs/libzfs_pool.c
man/man8/zpool.8
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh [new file with mode: 0755]