# e2label - Change the label on an ext2/ext3/ext4 file system - man(8) - [phpMan]

[_E2LABEL_(8)](https://www.chedong.com/phpMan.php/man/E2LABEL/8/markdown)                             System Manager's Manual                            [_E2LABEL_(8)](https://www.chedong.com/phpMan.php/man/E2LABEL/8/markdown)

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

## SYNOPSIS
       **e2label _**device_ [ _volume-label_ ]

## DESCRIPTION
       **e2label  **will  display  or change the volume label on the ext2, ext3, or ext4 file system lo‐
       cated 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)](https://www.chedong.com/phpMan.php/man/tune2fs/8/markdown).

## AUTHOR
       **e2label **was written by Theodore Ts'o (<tytso@mit.edu>).

## AVAILABILITY
       **e2label **is part of the e2fsprogs  package  and  is  available  from  <http://e2fsprogs.source>‐
       forge.net.

## SEE ALSO
       [**mke2fs**(8)](https://www.chedong.com/phpMan.php/man/mke2fs/8/markdown), [**tune2fs**(8)](https://www.chedong.com/phpMan.php/man/tune2fs/8/markdown)


E2fsprogs version 1.47.0                    February 2023                                 [_E2LABEL_(8)](https://www.chedong.com/phpMan.php/man/E2LABEL/8/markdown)
