list_disk_labels
Description:
mapping of disk labels to devices
If you add drives using the optional label
parameter of guestfs_session_add_drive_opts
, you can use this call to map
between disk labels, and raw block device and partition names (like /dev/sda and /dev/sda1).
This returns a hashtable, where keys are the disk labels (*without* the /dev/disk/guestfs prefix), and the values are the full raw block device and partition names (eg. /dev/sda and /dev/sda1).
Parameters:
this |
A GuestfsSession object |
Returns:
a GHashTable of results, or NULL on error |