summaryrefslogtreecommitdiffstats
path: root/sys/geom/concat/g_concat.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-07-05 21:16:37 +0000
committerpjd <pjd@FreeBSD.org>2004-07-05 21:16:37 +0000
commit782281411585b11c71b5fc34d535c71848a7efd9 (patch)
treef9d11c474284afcadba02b886c45bd73c725b0b6 /sys/geom/concat/g_concat.c
parentfe7583f88c43e3d41c4526d3f8370a0b22407f37 (diff)
downloadFreeBSD-src-782281411585b11c71b5fc34d535c71848a7efd9.zip
FreeBSD-src-782281411585b11c71b5fc34d535c71848a7efd9.tar.gz
- Add 'stop' command, which works just like 'destroy' command, but sounds
less dangerous. - Update manual pages and extend examples. - Bump versions.
Diffstat (limited to 'sys/geom/concat/g_concat.c')
-rw-r--r--sys/geom/concat/g_concat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/concat/g_concat.c b/sys/geom/concat/g_concat.c
index 768e2cb..9dd8bff 100644
--- a/sys/geom/concat/g_concat.c
+++ b/sys/geom/concat/g_concat.c
@@ -791,7 +791,8 @@ g_concat_config(struct gctl_req *req, struct g_class *mp, const char *verb)
if (strcmp(verb, "create") == 0) {
g_concat_ctl_create(req, mp);
return;
- } else if (strcmp(verb, "destroy") == 0) {
+ } else if (strcmp(verb, "destroy") == 0 ||
+ strcmp(verb, "stop") == 0) {
g_concat_ctl_destroy(req, mp);
return;
}
OpenPOWER on IntegriCloud