set_uuid


Description:

[ Version ( since = "1.23.10" ) ]
public bool set_uuid (string device, string uuid) throws Error

set the filesystem UUID

Set the filesystem UUID on device to uuid. If this fails and the errno is ENOTSUP, means that there is no support for changing the UUID for the type of the specified filesystem.

Only some filesystem types support setting UUIDs.

To read the UUID on a filesystem, call vfs_uuid.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error