X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=870ffb69441165e0da0526a841195fcccabb3812;hb=1eeaf2ea11a502bae686fde753b31a72e700a3ba;hp=60ec056d0a9c474c67628cf48b890779490553d6;hpb=ac286b26df1aabceca26dac66c325a3676ace4cc;p=libguestfs.git diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 60ec056..870ffb6 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 *) @@ -454,3 +463,24 @@ val cp_a : t -> string -> string -> unit 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 *) + +val strings : t -> string -> string array +(** print the printable strings in a file *) + +val strings_e : t -> string -> string -> string array +(** print the printable strings in a file *) + +val hexdump : t -> string -> string +(** dump a file in hexadecimal *) +