X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=40d1d2a4a533c6abeac1a9759b4c41c5352aa6ec;hb=d50dbf2d7cda1edc18d5249dae051cd58e65b99a;hp=f38fa48abb8246cb3affa1cdc9fcdd92d1e3d5f3;hpb=aed0fa2c015e56a882fd6d4b759c82df08fc40d7;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index f38fa48..40d1d2a 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -424,3 +424,45 @@ val vgremove : t -> string -> unit val pvremove : t -> string -> unit (** remove an LVM physical volume *) +val set_e2label : t -> string -> string -> unit +(** set the ext2/3/4 filesystem label *) + +val get_e2label : t -> string -> string +(** get the ext2/3/4 filesystem label *) + +val set_e2uuid : t -> string -> string -> unit +(** set the ext2/3/4 filesystem UUID *) + +val get_e2uuid : t -> string -> string +(** get the ext2/3/4 filesystem UUID *) + +val fsck : t -> string -> string -> int +(** run the filesystem checker *) + +val zero : t -> string -> unit +(** write zeroes to the device *) + +val grub_install : t -> string -> string -> unit +(** install GRUB *) + +val cp : t -> string -> string -> unit +(** copy a file *) + +val cp_a : t -> string -> string -> unit +(** copy a file or directory recursively *) + +val mv : t -> string -> string -> unit +(** move a file *) + +val drop_caches : t -> int -> unit +(** drop kernel page cache, dentries and inodes *) + +val dmesg : t -> string +(** return kernel messages *) + +val ping_daemon : t -> unit +(** ping the guest daemon *) + +val equal : t -> string -> string -> bool +(** test if two files have equal contents *) +