summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2010-03-21 15:02:47 +0000
committermjacob <mjacob@FreeBSD.org>2010-03-21 15:02:47 +0000
commit48555863a3bd12bba1199ab8bf3a256a6f9553dd (patch)
tree03ff24e5660d6977a4b5620a6727a884bc8f4c95 /sbin/geom
parent41b380674344c796c599421780e9fcda2bef02ac (diff)
downloadFreeBSD-src-48555863a3bd12bba1199ab8bf3a256a6f9553dd.zip
FreeBSD-src-48555863a3bd12bba1199ab8bf3a256a6f9553dd.tar.gz
Add 'rotate' and 'getactive' verbs to provide some control and information
about what the currently active path is. Sponsored by: Panasas MFC after: 1 month
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/multipath/geom_multipath.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sbin/geom/class/multipath/geom_multipath.c b/sbin/geom/class/multipath/geom_multipath.c
index 4319d04..ab91e2d 100644
--- a/sbin/geom/class/multipath/geom_multipath.c
+++ b/sbin/geom/class/multipath/geom_multipath.c
@@ -62,6 +62,14 @@ struct g_command class_commands[] = {
"clear", G_FLAG_VERBOSE, mp_main, G_NULL_OPTS,
NULL, "[-v] prov ..."
},
+ {
+ "rotate", G_FLAG_VERBOSE, NULL, G_NULL_OPTS,
+ NULL, "[-v] prov ..."
+ },
+ {
+ "getactive", G_FLAG_VERBOSE, NULL, G_NULL_OPTS,
+ NULL, "[-v] prov ..."
+ },
G_CMD_SENTINEL
};
OpenPOWER on IntegriCloud