diff options
author | mjacob <mjacob@FreeBSD.org> | 2010-03-21 15:02:47 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2010-03-21 15:02:47 +0000 |
commit | 48555863a3bd12bba1199ab8bf3a256a6f9553dd (patch) | |
tree | 03ff24e5660d6977a4b5620a6727a884bc8f4c95 /sbin/geom/class/multipath/geom_multipath.c | |
parent | 41b380674344c796c599421780e9fcda2bef02ac (diff) | |
download | FreeBSD-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/class/multipath/geom_multipath.c')
-rw-r--r-- | sbin/geom/class/multipath/geom_multipath.c | 8 |
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 }; |