[ Version ( since = "1.49.1" ) ]
public string device_name (int32 index) throws Error
convert device index to name
This function takes a device index and returns the device name. For example index @0 will return the string "/dev/sda".
The drive index must have been added to the handle.
See also list_devices, part_to_dev, device_index.
| this |
A GuestfsSession object |
|
the returned string, or NULL on error |