1E2LABEL(8) System Manager's Manual E2LABEL(8)
2
3
4
6 e2label - Change the label on an ext2/ext3/ext4 file system
7
9 e2label device [ volume-label ]
10
12 e2label will display or change the volume label on the ext2, ext3, or
13 ext4 file system located on device.
14
15 If the optional argument volume-label is not present, e2label will sim‐
16 ply display the current volume label.
17
18 If the optional argument volume-label is present, then e2label will set
19 the volume label to be volume-label. Ext2 volume labels can be at most
20 16 characters long; if volume-label is longer than 16 characters, e2la‐
21 bel will truncate it and print a warning message. For other file sys‐
22 tems that support online label manipulation and are mounted e2label
23 will work as well, but it will not attempt to truncate the volume-label
24 at all.
25
26 It is also possible to set the volume label using the -L option of
27 tune2fs(8).
28
30 e2label was written by Theodore Ts'o (tytso@mit.edu).
31
33 e2label is part of the e2fsprogs package and is available from
34 http://e2fsprogs.sourceforge.net.
35
37 mke2fs(8), tune2fs(8)
38
39
40
41
42E2fsprogs version 1.47.0 February 2023 E2LABEL(8)