List partitions by UUID

UUID mounts in fstab is very useful if you have external usb hdd that is often connected and disconnected.

To find out the UUID of a disk drive, you can use the simple `ls` command as below:

ls -l /dev/disk/by-uuid

Additionally below commands can also be used:

# blkid
# vol_id /dev/sda1
# tune2fs -l /dev/sda1

Comment