Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to find a Label Name of any Partition on linux server?

To find the label of a partition, use following command with appropriate changes:
[root@server]# blkid -s LABEL /dev/<partition-name>

You will have to replace a “partition-name” with the actual partition for which you want to find out the label.
Example is given below:
[root@server]# blkid -s LABEL /dev/sda7
/dev/sda7: LABEL=”/backup”

Share on Twitter
Share on Facebook