diff options
author | le <le@FreeBSD.org> | 2006-03-23 19:58:43 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2006-03-23 19:58:43 +0000 |
commit | 80efd8a6c8402b6ec3055526640e188d257ad82d (patch) | |
tree | ebf356ea4a6858242ffdfeb11c641e7b4306871d /sys/geom/vinum/geom_vinum.c | |
parent | 925eb76ba3564d403af4210dfa40dde20fa1726c (diff) | |
download | FreeBSD-src-80efd8a6c8402b6ec3055526640e188d257ad82d.zip FreeBSD-src-80efd8a6c8402b6ec3055526640e188d257ad82d.tar.gz |
Implement the 'resetconfig' command.
PR: kern/94835
Submitted by: Ulf Lilleengen <lulf@stud.ntnu.no>
Diffstat (limited to 'sys/geom/vinum/geom_vinum.c')
-rw-r--r-- | sys/geom/vinum/geom_vinum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c index dfb0452..7e045d9 100644 --- a/sys/geom/vinum/geom_vinum.c +++ b/sys/geom/vinum/geom_vinum.c @@ -396,6 +396,9 @@ gv_config(struct gctl_req *req, struct g_class *mp, char const *verb) } else if (!strcmp(verb, "rename")) { gv_rename(gp, req); + + } else if (!strcmp(verb, "resetconfig")) { + gv_resetconfig(gp, req); } else if (!strcmp(verb, "start")) { gv_start_obj(gp, req); |