part_set_gpt_attributes
Description:
[ Version ( since = "1.21.1" ) ]
public bool part_set_gpt_attributes (string device, int32 partnum, int64 attributes) throws Error
public bool part_set_gpt_attributes (string device, int32 partnum, int64 attributes) throws Error
set the attribute flags of a GPT partition
Set the attribute flags of numbered GPT partition partnum
to attributes
. Return an error if the partition table of
device
isn't GPT.
See <ulink url='https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_entrie s'> http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_entries </ulink> for a useful list of partition attributes.
This function depends on the feature "gdisk". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |