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.