set_e2label


Description:

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

Warning: set_e2label is deprecated.

set the ext2/3/4 filesystem label

Note:

In new code, use set_label instead

This sets the ext2/3/4 filesystem label of the filesystem on device to label. Filesystem labels are limited to 16 characters.

You can use either tune2fs_l or get_e2label to return the existing label on a filesystem.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org