inspect_get_format


Description:

[ Version ( deprecated = true , since = "1.9.4" ) ]
public string inspect_get_format (string root) throws Error

Warning: inspect_get_format is deprecated.

get format of inspected operating system

Note:

There is no documented replacement

Before libguestfs 1.38, there was some unreliable support for detecting installer CDs. This API would return:

"installed" This is an installed operating system.

"installer" The disk image being inspected is not an installed operating system, but a *bootable* install disk, live CD, or similar.

"unknown" The format of this disk image is not known.

In libguestfs ≥ 1.38, this only returns installed. Use libosinfo directly to detect installer CDs.

Please read "INSPECTION" in guestfs(3) for more details.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error




2022 vala-language.org