part_get_mbr_part_type
Description:
[ Version ( since = "1.29.32" ) ]
public string part_get_mbr_part_type (string device, int32 partnum) throws Error
public string part_get_mbr_part_type (string device, int32 partnum) throws Error
get the MBR partition type
This returns the partition type of an MBR partition numbered partnum on device device.
It returns primary, logical, or extended.
Parameters:
| this |
A GuestfsSession object |
Returns:
|
the returned string, or NULL on error |