X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=4d7a4b33af14e552f2e2046aa0ee7eb6e4a49264;hb=57c74708ca4e00db259903998b67489e50b8d12b;hp=e7dd42b6e0cd9bb17cab942b65e318179ba5da59;hpb=c5a6584c4fcc0051e1a333838d7562a4fba7ad1f;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index e7dd42b..4d7a4b3 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -1038,6 +1038,19 @@ the case then an error is returned. Please read L for more details."); + ("inspect_get_roots", (RStringList "roots", [], []), -1, [], + [], + "return list of operating systems found by last inspection", + "\ +This function is a convenient way to get the list of root +devices, as returned from a previous call to C, +but without redoing the whole inspection process. + +This returns an empty list if either no root devices were +found or the caller has not called C. + +Please read L for more details."); + ] (* daemon_functions are any functions which cause some action