part_set_gpt_guid
Description:
[ Version ( since = "1.29.25" ) ]
public bool part_set_gpt_guid (string device, int32 partnum, string guid) throws Error
public bool part_set_gpt_guid (string device, int32 partnum, string guid) throws Error
set the GUID of a GPT partition
Set the GUID of numbered GPT partition partnum to guid. Return an error if the partition table of device
isn't GPT, or if guid is not a valid GUID.
This function depends on the feature "gdisk". See also feature_available.
Parameters:
| this |
A GuestfsSession object |
Returns:
|
true on success, false on error |