part_get_disk_guid


Description:

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

get the GUID of a GPT-partitioned disk

Return the disk identifier (GUID) of a GPT-partitioned device. Behaviour is undefined for other partition types.

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

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error