part_get_gpt_type
Description:
[ Version ( since = "1.21.1" ) ]
public string part_get_gpt_type (string device, int32 partnum) throws Error
public string part_get_gpt_type (string device, int32 partnum) throws Error
get the type GUID of a GPT partition
Return the type GUID of numbered GPT partition partnum
. For MBR partitions, return an appropriate GUID corresponding to the MBR
type. Behaviour is undefined for other partition types.
This function depends on the feature "gdisk". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned string, or NULL on error |