[ Version ( since = "1.25.33" ) ]
public string part_get_name (string device, int32 partnum) throws Error
get partition name
This gets the partition name on partition numbered partnum on device device. Note that partitions are numbered
from 1.
The partition name can only be read on certain types of partition table. This works on gpt but not on mbr
partitions.
| this |
A GuestfsSession object |
|
the returned string, or NULL on error |