set_uuid_random


Description:

[ Version ( since = "1.29.50" ) ]
public bool set_uuid_random (string device) throws Error

set a random UUID for the filesystem

Set the filesystem UUID on device to a random 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




2022 vala-language.org