E2LABEL(8)

๐Ÿ’– E2LABEL(8) ๐Ÿ’–

okay bestie, welcome to the System Manager's Manual section for e2label โ€” yes it's a sysadmin page, yes it's a whole vibe, no cap ๐Ÿซถ


โœจ NAME โœจ

e2label โ€” change the label on an ext2/ext3/ext4 file system ๐Ÿท๏ธ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

e2label device [ volume-label ]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so here's the tea โ˜• โ€” e2label is gonna display or change the volume label on the ext2, ext3, or ext4 file system that's chillin' on device. literally that's the whole job and she does it flawlessly ๐Ÿ’…

If the optional argument volume-label is not present, e2label will simply display the current volume label. just a lil peek, a vibe check, no changes made, we're just looking ๐Ÿ‘€

If the optional argument volume-label is present, then e2label will set the volume label to be volume-label. periodt, that's a glow-up โœจ

โš ๏ธ important bestie!! ext2 volume labels can be at most 16 characters long. if volume-label is longer than 16 characters, e2label will truncate it and print a warning message. she's cutting you off mid-sentence and telling you about it ๐Ÿ˜ญ

For other file systems that support online label manipulation and are mounted, e2label will work as well โ€” but it will not attempt to truncate the volume-label at all. so like, different rules for different filesystems, iykyk ๐Ÿคทโ™€๏ธ

It is also possible to set the volume label using the -L option of tune2fs(8). just so you know, there's another way, two paths to the same slay ๐Ÿ”ฅ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

e2label was written by Theodore Ts'o (tytso@mit.edu). icon behavior, honestly ๐ŸŽ€


๐ŸŒˆ AVAILABILITY ๐ŸŒˆ

e2label is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net. go get her ๐Ÿ›๏ธ


๐Ÿ’œ SEE ALSO ๐Ÿ’œ


E2fsprogs version 1.47.4 โ€” March 2025 โ€” and that's the whole E2LABEL(8) page bestie, tysm for reading, you're literally the main character of this filesystem ๐Ÿ’–โœจ๐Ÿฆ‹๐ŸŽ€๐Ÿ’…

๐Ÿ“ฆ where this page comes from