From e4010f2719e3381ae15563d50b99e51ffe2b2168 Mon Sep 17 00:00:00 2001 From: LOLi Date: Wed, 26 Oct 2016 01:17:47 +0200 Subject: Allow for '-o 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@=disabled ... Original-patch-by: Turbo Fredriksson Reviewed-by: Brian Behlendorf Signed-off-by: loli10K Closes #3460 Closes #5142 Closes #5324 --- man/man8/zpool.8 | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 351817569..43dccc05a 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -41,8 +41,9 @@ zpool \- configures ZFS storage pools .LP .nf -\fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-O\fR \fIfile-system-property=value\fR] - ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] [\fB-t\fR \fItname\fR] \fIpool\fR \fIvdev\fR ... +\fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-o\fR feature@\fIfeature=value\fR] + ... [\fB-O\fR \fIfile-system-property=value\fR] ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] + ... [\fB-t\fR \fItname\fR] \fIpool\fR \fIvdev\fR ... .fi .LP @@ -877,7 +878,7 @@ Clears device errors in a pool. If no arguments are specified, all device errors .sp .ne 2 .na -\fB\fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-O\fR \fIfile-system-property=value\fR] ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] [\fB-t\fR \fItname\fR] \fIpool\fR \fIvdev\fR ...\fR +\fB\fBzpool create\fR [\fB-fnd\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-o\fR feature@\fIfeature=value\fR] ... [\fB-O\fR \fIfile-system-property=value\fR] ... [\fB-m\fR \fImountpoint\fR] [\fB-R\fR \fIroot\fR] [\fB-t\fR \fItname\fR] \fIpool\fR \fIvdev\fR ...\fR .ad .sp .6 .RS 4n @@ -930,6 +931,18 @@ Do not enable any features on the new pool. Individual features can be enabled b Sets the given pool properties. See the "Properties" section for a list of valid properties that can be set. .RE +.sp +.ne 2 +.na +\fB\fB-o\fR feature@\fIfeature=value\fR [\fB-o\fR feature@\fIfeature=value\fR] ...\fR +.ad +.sp .6 +.RS 4n +Sets the given pool feature. See \fBzpool-features(5)\fR for a list of valid features that can be set. +.sp +Value can be either \fBdisabled\fR or \fBenabled\fR. +.RE + .sp .ne 2 .na -- cgit v1.2.3