Actions
Bug #8981
openmanpage for zpool does not document all flags for clear
Status:
New
Priority:
Low
Assignee:
-
Category:
manpage - manual pages
Start date:
2018-01-20
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
Description
Fragment from the manpage
zpool clear pool [device] Clears device errors in a pool. If no arguments are specified, all device errors within the pool are cleared. If one or more devices is specified, only those errors associated with the specified device or devices are cleared.
Output when running 'zpool clear pool dev1 dev2'
too many arguments usage: clear [-nF] <pool> [device]
(It takes only once device, but that aside ...)
De -n and -F flags are not document.
Updated by Jorge Schrauwen over 4 years ago
Looking at the code http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/zpool/zpool_main.c#3794
There also seems to be a -X
Actions