X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=b8937d009cbeab82fc87fc2fa486caacf86b2e4e;hb=1c29849e0bdc731c023cff00d2c2354a41fd2a92;hp=e7dd42b6e0cd9bb17cab942b65e318179ba5da59;hpb=c5a6584c4fcc0051e1a333838d7562a4fba7ad1f;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index e7dd42b..b8937d0 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 @@ -2256,7 +2269,7 @@ This is the same as the C command, but it allows you to set both the mount options and the vfstype as for the L I<-o> and I<-t> flags."); - ("debug", (RString "result", [String "subcmd"; StringList "extraargs"], []), 76, [], + ("debug", (RString "result", [String "subcmd"; StringList "extraargs"], []), 76, [NotInDocs], [], "debugging and internals", "\ @@ -4803,7 +4816,7 @@ is the same as the L C command."); Return the current umask. By default the umask is C<022> unless it has been set by calling C."); - ("debug_upload", (RErr, [FileIn "filename"; String "tmpname"; Int "mode"], []), 241, [], + ("debug_upload", (RErr, [FileIn "filename"; String "tmpname"; Int "mode"], []), 241, [NotInDocs], [], "upload a file to the appliance (internal use only)", "\