part_expand_gpt


Description:

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

move backup GPT header to the end of the disk

Move backup GPT data structures to the end of the disk. This is useful in case of in-place image expand since disk space after backup GPT header is not usable. This is equivalent to "sgdisk -e".

See also sgdisk(8).

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error