svn commit: r207123 - stable/7/sbin/geom/class/multipath
Matt Jacob
mjacob at FreeBSD.org
Fri Apr 23 16:21:40 UTC 2010
Author: mjacob
Date: Fri Apr 23 16:21:40 2010
New Revision: 207123
URL: http://svn.freebsd.org/changeset/base/207123
Log:
This is an MFC of 205412.
Add 'rotate' and 'getactive' verbs to provide some control and information
about what the currently active path is.
Modified:
stable/7/sbin/geom/class/multipath/geom_multipath.c
Directory Properties:
stable/7/sbin/geom/ (props changed)
stable/7/sbin/geom/class/label/ (props changed)
stable/7/sbin/geom/class/part/ (props changed)
stable/7/sbin/geom/class/stripe/ (props changed)
stable/7/sbin/geom/misc/ (props changed)
Modified: stable/7/sbin/geom/class/multipath/geom_multipath.c
==============================================================================
--- stable/7/sbin/geom/class/multipath/geom_multipath.c Fri Apr 23 16:20:45 2010 (r207122)
+++ stable/7/sbin/geom/class/multipath/geom_multipath.c Fri Apr 23 16:21:40 2010 (r207123)
@@ -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
};
More information about the svn-src-stable-7
mailing list