part_get_gpt_attributes
Description:
[ Version ( since = "1.21.1" ) ]
public int64 part_get_gpt_attributes (string device, int32 partnum) throws Error
public int64 part_get_gpt_attributes (string device, int32 partnum) throws Error
get the attribute flags of a GPT partition
Return the attribute flags of numbered GPT partition partnum
. An error is returned for MBR partitions.
This function depends on the feature "gdisk". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |