part_set_disk_guid
Description:
[ Version ( since = "1.33.2" ) ]
public bool part_set_disk_guid (string device, string guid) throws Error
public bool part_set_disk_guid (string device, string guid) throws Error
set the GUID of a GPT-partitioned disk
Set the disk identifier (GUID) of a GPT-partitioned device 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 |