[ Version ( since = "1.21.1" ) ]
public bool part_set_gpt_type (string device, int32 partnum, string guid) throws Error
set the type GUID of a GPT partition
Set the type 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.
See <ulink url='https://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_G UIDs'> http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs </ulink> for a useful list of type GUIDs.
| this |
A GuestfsSession object |
|
true on success, false on error |