diff options
author | phk <phk@FreeBSD.org> | 2003-04-22 21:00:49 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-22 21:00:49 +0000 |
commit | 02c40a0b9d19ba3495e147ed827371063e455acd (patch) | |
tree | 006405c86bb7b0a4b8b826fa66b919fd54d49a57 | |
parent | 128ae3c8d893885f814d7838d0d6b55e38ebd5a9 (diff) | |
download | FreeBSD-src-02c40a0b9d19ba3495e147ed827371063e455acd.zip FreeBSD-src-02c40a0b9d19ba3495e147ed827371063e455acd.tar.gz |
Add "CONFIG_GEOM" operation to the OAM API.
-rw-r--r-- | sys/geom/geom_ctl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/geom/geom_ctl.h b/sys/geom/geom_ctl.h index 5270677..3f7b3d5 100644 --- a/sys/geom/geom_ctl.h +++ b/sys/geom/geom_ctl.h @@ -42,14 +42,20 @@ */ enum gctl_request { GCTL_INVALID_REQUEST = 0, + GCTL_CREATE_GEOM, GCTL_DESTROY_GEOM, + GCTL_ATTACH, GCTL_DETACH, + GCTL_CREATE_PROVIDER, GCTL_DESTROY_PROVIDER, + GCTL_INSERT_GEOM, GCTL_ELIMINATE_GEOM, + + GCTL_CONFIG_GEOM, }; #ifdef GCTL_TABLE @@ -71,6 +77,7 @@ struct gctl_req_table { { 0, 1, 1, 0, 1, "destroy provider", GCTL_DESTROY_PROVIDER }, { 1, 1, 1, 0, 1, "insert geom", GCTL_INSERT_GEOM }, { 0, 1, 0, 0, 1, "eliminate geom", GCTL_ELIMINATE_GEOM }, + { 0, 1, 0, 0, 1, "config geom", GCTL_CONFIG_GEOM }, /* Terminator entry */ { 1, 1, 1, 1, 1, "*INVALID*", GCTL_INVALID_REQUEST } |