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”
========================================

هل كانت المقالة مفيدة ؟ 1 أعضاء وجدوا هذه المقالة مفيدة (2 التصويتات)