X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=5ce912204f5728d3ed5e6b5114f2a5fd795fb740;hb=0695593702b8612b500ff0b3bf800e5934f9b56e;hp=d44fb0603f71143a9af8df7805566724df8084d0;hpb=0faa5dde7b992ba11bb88f77b3424676c7c492e4;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index d44fb06..5ce9122 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -154,6 +154,12 @@ val set_path : t -> string -> unit val get_path : t -> string (** get the search path *) +val set_append : t -> string -> unit +(** add options to kernel command line *) + +val get_append : t -> string +(** get the additional kernel options *) + val set_autosync : t -> bool -> unit (** set autosync mode *) @@ -187,6 +193,9 @@ val set_busy : t -> unit val set_ready : t -> unit (** set state to ready *) +val end_busy : t -> unit +(** leave the busy state *) + val mount : t -> string -> string -> unit (** mount a guest disk at a position in the filesystem *) @@ -475,3 +484,27 @@ val strings_e : t -> string -> string -> string array val hexdump : t -> string -> string (** dump a file in hexadecimal *) +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 *) + +val vg_activate_all : t -> bool -> unit +(** activate or deactivate all volume groups *) + +val vg_activate : t -> bool -> string array -> unit +(** activate or deactivate some volume groups *) +