summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum.h
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2005-11-19 20:25:18 +0000
committerle <le@FreeBSD.org>2005-11-19 20:25:18 +0000
commit7f74b7e0865d73a2acccc73cf72fb4f34ab54934 (patch)
treefda3443a50d99eceb3a79540e4c41b22a631e9e3 /sys/geom/vinum/geom_vinum.h
parente13ba63af7fc008bda87a1f3797acbb461c87715 (diff)
downloadFreeBSD-src-7f74b7e0865d73a2acccc73cf72fb4f34ab54934.zip
FreeBSD-src-7f74b7e0865d73a2acccc73cf72fb4f34ab54934.tar.gz
Finally bring in what was produced during Google SoC 2005:
Add functions to rename objects and to move a subdisk from one drive to another. Obtained from: Chris Jones <chris.jones@ualberta.ca> Sponsored by: Google Summer of Code 2005 MFC in: 1 week
Diffstat (limited to 'sys/geom/vinum/geom_vinum.h')
-rw-r--r--sys/geom/vinum/geom_vinum.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum.h b/sys/geom/vinum/geom_vinum.h
index 15216dc..1a31b3b 100644
--- a/sys/geom/vinum/geom_vinum.h
+++ b/sys/geom/vinum/geom_vinum.h
@@ -33,6 +33,7 @@
/* geom_vinum_drive.c */
void gv_config_new_drive(struct gv_drive *);
+void gv_drive_modify(struct gv_drive *);
void gv_save_config_all(struct gv_softc *);
void gv_save_config(struct g_consumer *, struct gv_drive *,
struct gv_softc *);
@@ -48,8 +49,16 @@ void gv_ls(struct g_geom *, struct gctl_req *, struct sbuf *);
void gv_lv(struct g_geom *, struct gctl_req *, struct sbuf *);
void gv_list(struct g_geom *, struct gctl_req *);
+/* geom_vinum_move.c */
+void gv_move(struct g_geom *, struct gctl_req *);
+
+/* geom_vinum_rename.c */
+void gv_rename(struct g_geom *, struct gctl_req *);
+
/* geom_vinum_rm.c */
void gv_remove(struct g_geom *, struct gctl_req *);
+int gv_rm_sd(struct gv_softc *sc, struct gctl_req *req,
+ struct gv_sd *s, int flags);
/* geom_vinum_state.c */
int gv_sdstatemap(struct gv_plex *);
OpenPOWER on IntegriCloud