set_e2uuid


Description:

[ Version ( deprecated = true , since = "1.0.15" ) ]
public bool set_e2uuid (string device, string uuid) throws Error

Warning: set_e2uuid is deprecated.

set the ext2/3/4 filesystem UUID

Note:

In new code, use set_uuid instead

This sets the ext2/3/4 filesystem UUID of the filesystem on device to uuid. The format of the UUID and alternatives such as clear, random and time are described in the tune2fs(8) manpage.

You can use vfs_uuid to return the existing UUID of a filesystem.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error