diff options
author | Tom Matthews <[email protected]> | 2017-04-04 19:03:33 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-04-04 11:03:33 -0700 |
commit | d456708525b9c12b0416bdfd68f2ecec5121c78e (patch) | |
tree | 9e09f62e7e6443a15c11b3a484f940368b77cce6 /man | |
parent | bcdb96a3e197ebe64048464c19f505637b8bb7ba (diff) |
list -o props should be alloc,free not used,avail
Manpage suggests the zpool list properties include 'used'
and 'available', when these are invalid property names.
Use alloc and free in their place.
```
$ zpool list -o name,size,used 2>&1 |head -1
bad property list: invalid property 'used'
$ zpool list -o name,size,avail 2>&1 |head -1
bad property list: invalid property 'avail'
$ zpool list -o name,size,available 2>&1 |head -1
bad property list: invalid property 'available'
$ zpool list -o name,size,alloc,free
NAME SIZE ALLOC FREE
apool 464M 203M 261M
bpool 3.62T 1.97T 1.65T
```
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: loli10K <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tom Matthews <[email protected]>
Closes #5959
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/zpool.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 929340fcb..0c053b080 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -1877,7 +1877,7 @@ Specify \fBu\fR for a printed representation of the internal representation of t \fB\fB-o\fR \fIprops\fR\fR .ad .RS 12n -Comma-separated list of properties to display. See the "Properties" section for a list of valid properties. The default list is "name, size, used, available, fragmentation, expandsize, capacity, dedupratio, health, altroot" +Comma-separated list of properties to display. See the "Properties" section for a list of valid properties. The default list is "name, size, alloc, free, fragmentation, expandsize, capacity, dedupratio, health, altroot" .RE .sp |