[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.7.3" ) ]
public string[] inspect_get_roots () throws Error
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 inspect_os, 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 inspect_os.
Please read "INSPECTION" in guestfs(3) for more details.
this |
A GuestfsSession object |
an array of returned strings, or NULL on error |