part_set_disk_guid_random


Description:

[ Version ( since = "1.33.2" ) ]
public bool part_set_disk_guid_random (string device) throws Error

set the GUID of a GPT-partitioned disk to random value

Set the disk identifier (GUID) of a GPT-partitioned device to a randomly generated value. Return an error if the partition table of device isn't GPT.

This function depends on the feature "gdisk". See also feature_available .

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org