back       next

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

Post new comment

  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.