Using UUID to Deal With Disks

Written By
JK
Juliet Kemp
Dec 16, 2008

“OK, so, first, how do you find out the UUID of your disk? The
command blkid can be used — here’s its output for one of my
disks:

# blkid /dev/hda1
/dev/hda1: UUID=”0ef96300-36c0-4575-8a1d-2d36ff4cd585″
SEC_TYPE=”ext2″ TYPE=”ext3″

“Alternatively, you can look at the /dev/disk/by_uuid/ directory
to see which UUID is associated with which disk. (Use df to find
out what device names you currently have mounted.)”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.