diff options
author | marcel <marcel@FreeBSD.org> | 2007-05-15 20:25:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-05-15 20:25:18 +0000 |
commit | 40656d08513a31c921315a57a9bbd86878c991fa (patch) | |
tree | de4581799ddcced445b8a47904084798e54bf914 /sbin/geom/class/stripe | |
parent | 8ea441aed588aa6eb59168cf5f54cf2931aaf6e1 (diff) | |
download | FreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.zip FreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.tar.gz |
Add gpart(8).
In order to support gpart(8), geom(8) needs to support a named
argument. Also, optional string parameters are a requirement.
Both have been added to the infrastructure. The former required
all existing classes to be adjusted.
Diffstat (limited to 'sbin/geom/class/stripe')
-rw-r--r-- | sbin/geom/class/stripe/geom_stripe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/geom/class/stripe/geom_stripe.c b/sbin/geom/class/stripe/geom_stripe.c index 1e33643..704e000 100644 --- a/sbin/geom/class/stripe/geom_stripe.c +++ b/sbin/geom/class/stripe/geom_stripe.c @@ -54,7 +54,7 @@ static void stripe_dump(struct gctl_req *req); static void stripe_label(struct gctl_req *req); struct g_command class_commands[] = { - { "clear", G_FLAG_VERBOSE, stripe_main, G_NULL_OPTS, + { "clear", G_FLAG_VERBOSE, stripe_main, G_NULL_OPTS, NULL, "[-v] prov ..." }, { "create", G_FLAG_VERBOSE | G_FLAG_LOADKLD, NULL, @@ -62,16 +62,16 @@ struct g_command class_commands[] = { { 's', "stripesize", &default_stripesize, G_TYPE_NUMBER }, G_OPT_SENTINEL }, - "[-hv] [-s stripesize] name prov prov ..." + NULL, "[-hv] [-s stripesize] name prov prov ..." }, { "destroy", G_FLAG_VERBOSE, NULL, { { 'f', "force", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, - "[-fv] name ..." + NULL, "[-fv] name ..." }, - { "dump", 0, stripe_main, G_NULL_OPTS, + { "dump", 0, stripe_main, G_NULL_OPTS, NULL, "dump prov ..." }, { "label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, stripe_main, @@ -80,14 +80,14 @@ struct g_command class_commands[] = { { 's', "stripesize", &default_stripesize, G_TYPE_NUMBER }, G_OPT_SENTINEL }, - "[-hv] [-s stripesize] name prov prov ..." + NULL, "[-hv] [-s stripesize] name prov prov ..." }, { "stop", G_FLAG_VERBOSE, NULL, { { 'f', "force", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, - "[-fv] name ..." + NULL, "[-fv] name ..." }, G_CMD_SENTINEL }; |