e2label(8) — Linux manual page


E2LABEL(8)               System Manager's Manual              E2LABEL(8)

NAME         top

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

SYNOPSIS         top

       e2label device [ volume-label ]

DESCRIPTION         top

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

AUTHOR         top

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

AVAILABILITY         top

       e2label is part of the e2fsprogs package and is available from

SEE ALSO         top

       mke2fs(8), tune2fs(8)

COLOPHON         top

       This page is part of the e2fsprogs (utilities for ext2/3/4
       filesystems) project.  Information about the project can be found
       at ⟨http://e2fsprogs.sourceforge.net/⟩.  It is not known how to
       report bugs for this man page; if you know, please send a mail to
       man-pages@man7.org.  This page was obtained from the project's
       upstream Git repository
       ⟨git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-05-20.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

E2fsprogs version 1.47.1        May 2024                      E2LABEL(8)

Pages that refer to this page: fstab(5)mount(8)