Once I wanted to retrieve the partition corresponding to one of my UUID in /etc/fstab, I used this command :
This command can find for you a partition by only specifying the UUID/ label you had, really useful sometime !
By instance, let's find a partition that have a UUID of :
it can be done with :
# findfs UUID=b601aae5-48ae-4832-83ac-210d587d1ea9
It's the same for label :
# findfs label=my_label
And if you want to see if a partiton has label, let's execute this partition :
# e2label /dev/sda1
has any label, it will show you directly. Otherwise you will get something like that :
e2label: Bad magic number in super-block while trying to open /dev/sda1 Couldn't find valid filesystem superblock.
There is also some other command that you can try to play with :