part_set_name


Description:

[ Version ( since = "1.0.78" ) ]
public bool part_set_name (string device, int32 partnum, string name) throws Error

set partition name

This sets the partition name on partition numbered partnum on device device. Note that partitions are numbered from 1.

The partition name can only be set on certain types of partition table. This works on gpt but not on mbr partitions.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error