e2label(8)

e2label8

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

Usage

e2label device [volume-label]

Overview

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. 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.

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

Releases

15 releases since Debian 2.1 (Slink); the text changed 14 times.

  1. 2.1
  2. 2.2
  3. 3.0
  4. 3.1
  5. 4.0
  6. 5.0
  7. 6.0
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11
  13. 12
  14. 13
  15. Arch

Author

e2label was written by Theodore Ts'o ([email protected]).

Availability

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

From e2fsprogs 1.47.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.