From a386ebb3a01e86fa4775849a0121b10294f0afdd Mon Sep 17 00:00:00 2001 From: mjacob Date: Fri, 23 Apr 2010 16:20:45 +0000 Subject: This is an MFS of 205412. Add 'rotate' and 'getactive' verbs to provide some control and information about what the currently active path is. --- sbin/geom/class/multipath/geom_multipath.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sbin') 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 }; -- cgit v1.1