summaryrefslogtreecommitdiffstats
path: root/ocaml/guestfs.mli
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-15 14:01:28 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-15 14:52:34 +0100
commit5cd39c83e23eb300d1bdfa806902a31b409ff420 (patch)
treea47e2bf9afc16cb9404ae996f512a9d3f22e553b /ocaml/guestfs.mli
parentb8e5f51c79f539a740827506cc9da3ffcb6c87f8 (diff)
downloadlibguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.tar.gz
libguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.tar.xz
libguestfs-5cd39c83e23eb300d1bdfa806902a31b409ff420.zip
Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
Diffstat (limited to 'ocaml/guestfs.mli')
-rw-r--r--ocaml/guestfs.mli15
1 files changed, 15 insertions, 0 deletions
diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli
index 3776abe7..358a6d30 100644
--- a/ocaml/guestfs.mli
+++ b/ocaml/guestfs.mli
@@ -487,3 +487,18 @@ val hexdump : t -> string -> string
val zerofree : t -> string -> unit
(** zero unused inodes and disk blocks on ext2/3 filesystem *)
+val pvresize : t -> string -> unit
+(** resize an LVM physical volume *)
+
+val sfdisk_N : t -> string -> int -> int -> int -> int -> string -> unit
+(** modify a single partition on a block device *)
+
+val sfdisk_l : t -> string -> string
+(** display the partition table *)
+
+val sfdisk_kernel_geometry : t -> string -> string
+(** display the kernel geometry *)
+
+val sfdisk_disk_geometry : t -> string -> string
+(** display the disk geometry from the partition table *)
+