List partitions by UUID
Thu, 12/03/2009 - 09:52 — sandipUUID 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
- sandip's blog
- Login or register to post comments