Bug 204626 - 'zpool get' command help output has two small errors
Summary: 'zpool get' command help output has two small errors
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-11-17 09:34 UTC by 214748mv
Modified: 2015-11-17 09:40 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description 214748mv 2015-11-17 09:34:12 UTC

running the command

$ zpool get

missing property argument


       get [-Hp] [-o "all" | field[,...]] <"all" | property[,...]> <pool> ...

the following properties are supported:

       PROPERTY         EDIT   VALUES

       allocated          NO   <size>

       capacity           NO   <size>

       dedupratio         NO   <1.00x or higher if deduped>

       expandsize         NO   <size>

       fragmentation      NO   <percent>

       free               NO   <size>

       freeing            NO   <size>

       guid               NO   <guid>

       health             NO   <state>

       leaked             NO   <size>

       size               NO   <size>

       altroot           YES   <path>

       autoexpand        YES   on | off

       autoreplace       YES   on | off

       bootfs            YES   <filesystem>

       cachefile         YES   <file> | none

       comment           YES   <comment-string>

       dedupditto        YES   <threshold (min 100)>

       delegation        YES   on | off

       failmode          YES   wait | continue | panic

       listsnapshots     YES   on | off

       readonly          YES   on | off

       version           YES   <version>

       feature@...       YES   disabled | enabled | active

The feature@ properties must be appended with a feature name.

See zpool-features(7).

I notice that:

    - the property "capacity" is a <percent> and not a <size>

    - the property "name" is missing.