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
- alpine 3.24: e2fsprogs-doc 1.47.4-r0 ยท GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT
- arch rolling: e2fsprogs 1.47.4-1 ยท GPL AND LGPL AND MIT
- nixpkgs unstable: e2fsprogs 1.47.4
- ubuntu stonking: e2fsprogs 1.47.4-1 ยท GPL-2.0-only
- Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms