X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=e115a7939df2b5ae1693eaabf247f7b62d4791f5;hp=21e6eeb52abe71829f79d94d1d6f5a0779090221;hb=3e408f493496597dc026d20778837f421f05a9dd;hpb=15e0fd573a87488c66cb3a6f0da01f3ab5f2f6ed diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 21e6eeb..e115a79 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 *) @@ -478,3 +484,39 @@ 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 *) + +val lvresize : t -> string -> int -> unit +(** resize an LVM logical volume *) + +val resize2fs : t -> string -> unit +(** resize an ext2/ext3 filesystem *) + +val find : t -> string -> string array +(** find all files and directories *) + +val e2fsck_f : t -> string -> unit +(** check an ext2/ext3 filesystem *) +