List EXT3 volume names in Linux

By | November 6, 2008

If you have multiple Linux partitions and want to find out the name of a certain one, you can use findfs for the task:

$ /sbin/findfs LABEL=/
/dev/hda1

The findfs binary is in the e2fsprogs package.

Leave a Reply

Your email address will not be published. Required fields are marked *