summaryrefslogtreecommitdiffstats
path: root/ocaml/guestfs.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml/guestfs.mli')
-rw-r--r--ocaml/guestfs.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli
index 612d0022..dc09056b 100644
--- a/ocaml/guestfs.mli
+++ b/ocaml/guestfs.mli
@@ -667,3 +667,12 @@ val initrd_list : t -> string -> string array
val mount_loop : t -> string -> string -> unit
(** mount a file using the loop device *)
+val mkswap : t -> string -> unit
+(** create a swap partition *)
+
+val mkswap_L : t -> string -> string -> unit
+(** create a swap partition with a label *)
+
+val mkswap_U : t -> string -> string -> unit
+(** create a swap partition with an explicit UUID *)
+