Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


Using UUID to Deal With Disks

Dec 15, 2008, 23:02 (6 Talkback[s])
(Other stories by Juliet Kemp)

"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

Related Stories: