Linux : How to view hard disk partitions UUIDs?

By | May 21, 2013

On modern/latest Linux and Unix distributions, system rely on UUID rather than disk device name itself.

To find out the UUID, you can use this simple command called “blkid” :

blkid <DEVICE_PARTITION_NAME>

Example :

blkid /dev/sda1

Will return something like this :

/dev/sda1: UUID=”1abd977f-65e0-46ab-b2bb-3651053c6e77″ TYPE=”ext4″