To get information about the available block devices on the Linux machine, we can use the command line interface utility ‘blkid’ which displays the information about the devices on the system with their file system type or universally unique identifier (UUID). For example –
=================================================
[root@#~]# blkid
/dev/sda1: UUID=”a78e1f03-be53-4ff0-adf2-5b27837c0efe” TYPE=”ext4″
/dev/sda2: UUID=”f8be5ef0-1232-4d4e-a27c-0772593858cf” TYPE=”swap”
/dev/sda3: UUID=”d9525666-8c8b-49bb-af81-104bf1d60d4d” TYPE=”ext4″
=================================================
That’s it.
]]>