isoinfo_device


Description:

[ Version ( since = "1.17.19" ) ]
public ISOInfo isoinfo_device (string device) throws Error

get ISO information from primary volume descriptor of device

device is an ISO device. This returns a struct of information read from the primary volume descriptor (the ISO equivalent of the superblock) of the device.

Usually it is more efficient to use the isoinfo(1) command with the *-d* option on the host to analyze ISO files, instead of going through libguestfs.

For information on the primary volume descriptor fields, see <ulink url='http://wiki.osdev.org/ISO_9660The_Primary_Volume_Descriptor '> http://wiki.osdev.org/ISO_9660The_Primary_Volume_Descriptor </ulink>

Parameters:

this

A GuestfsSession object

Returns:

a ISOInfo object, or NULL on error