summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl/hastctl.8
diff options
context:
space:
mode:
authormarck <marck@FreeBSD.org>2013-03-14 22:29:37 +0000
committermarck <marck@FreeBSD.org>2013-03-14 22:29:37 +0000
commit1c72daa7546cfa6bfefe87887a4edd9aa1e66ca8 (patch)
treeb741f779b3d7be87b649525fcac7b82d454a6c22 /sbin/hastctl/hastctl.8
parent1441d9fb6e2050e01a11c4855fd520d18c63ee41 (diff)
downloadFreeBSD-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.812
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
OpenPOWER on IntegriCloud