info

blkid

blkid is a utility for getting block device attributes such as the device UUID

Get attributes for a block device

blkid /dev/sda1