1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: e2label
Command Library


e2label - Change the label on an ext2 filesystem  


e2label device [ new-label ]  


e2label will display or change the filesystem label on the ext2 filesystem located on device.

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

If the optional argument new-label is present, then e2label will set the filesystem label to be new-label. Ext2 filesystem labels can be at most 16 characters long; if new-label is longer than 16 characters, e2label will truncate it and print a warning message.

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



mke2fs(8), tune2fs(8)

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

  1. About.com
  2. Tech
  3. Linux

©2015 About.com. All rights reserved.