Dave's Brain

Browse - Computer Tips - How do I show the label of an ext2 (or ext3) partition?

Date: 2008may17
OS: Linux

Q.  How do I show the label of an ext2 (or ext3) partition?

A.  Use the e2label command like this:

e2label /dev/sda1
Where /dev/sda1 is your device You can set the label like this:
e2label /dev/sda1 my_label
Works for ext3 partitions also.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.