diff options
author | marck <marck@FreeBSD.org> | 2013-03-14 22:29:37 +0000 |
---|---|---|
committer | marck <marck@FreeBSD.org> | 2013-03-14 22:29:37 +0000 |
commit | 1c72daa7546cfa6bfefe87887a4edd9aa1e66ca8 (patch) | |
tree | b741f779b3d7be87b649525fcac7b82d454a6c22 /sbin/hastctl/hastctl.8 | |
parent | 1441d9fb6e2050e01a11c4855fd520d18c63ee41 (diff) | |
download | FreeBSD-src-1c72daa7546cfa6bfefe87887a4edd9aa1e66ca8.zip FreeBSD-src-1c72daa7546cfa6bfefe87887a4edd9aa1e66ca8.tar.gz |
Rename 'status' command to 'list' and introduce new 'status' which produces
more terse output more observable for both scripts and humans.
Also, it shifts hastctl closer to GEOM utilities with their list/status command
pairs.
Approved by: pjd
MFC after: 4 weeks
Diffstat (limited to 'sbin/hastctl/hastctl.8')
-rw-r--r-- | sbin/hastctl/hastctl.8 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbin/hastctl/hastctl.8 b/sbin/hastctl/hastctl.8 index 9266fc0..bdca80d 100644 --- a/sbin/hastctl/hastctl.8 +++ b/sbin/hastctl/hastctl.8 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 10, 2011 +.Dd March 14, 2013 .Dt HASTCTL 8 .Os .Sh NAME @@ -49,6 +49,11 @@ .Aq init | primary | secondary .Ar all | name ... .Nm +.Cm list +.Op Fl d +.Op Fl c Ar config +.Op Ar all | name ... +.Nm .Cm status .Op Fl d .Op Fl c Ar config @@ -139,8 +144,11 @@ GEOM provider .Pa /dev/hast/<name> will not be created on secondary node. .El +.It Cm list +Present verbose status of the configured resources. .It Cm status -Present status of the configured resources. +Present terse (and more easy machine-parseable) status of the configured +resources. .It Cm dump Dump metadata stored on local component for the configured resources. .El |