man > e2label(8)

📛 NAME

e2label - Change the label on an ext2/ext3/ext4 file system

🚀 Quick Reference

Use CaseCommandDescription
🔍 Display current volume labele2label /dev/sda1Shows the label on the specified device
✏️ Set a new volume labele2label /dev/sda1 "MyLabel"Sets the label (max 16 characters, longer will be truncated)
🔄 Alternative method (tune2fs)tune2fs -L "MyLabel" /dev/sda1Also sets the volume label using -L option

📖 SYNOPSIS

e2label device [ volume-label ]

📝 DESCRIPTION

e2label will display or change the volume label on the ext2, ext3, or ext4 file system located on device.

If the optional argument volume-label is not present, e2label will simply display the current volume label.

If the optional argument volume-label is present, then e2label will set the volume label to be volume-label. 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.

It is also possible to set the volume label using the -L option of tune2fs(8).

👤 AUTHOR

e2label was written by Theodore Ts'o (tytso AT mit.edu).

📦 AVAILABILITY

e2label is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.

🔗 SEE ALSO

mke2fs(8), tune2fs(8)

e2label(8)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 👤 AUTHOR 📦 AVAILABILITY 🔗 SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-17 22:38 @216.73.216.26
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!