[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: determining this UUID stuff



From: "Gene Heskett" <gene heskett verizon net>
Sent: Saturday, 2009/April/25 21:13


On Saturday 25 April 2009, Philip A. Prindeville wrote:
Craig White wrote:
On Sat, 2009-04-25 at 13:00 -0400, Gene Heskett wrote:
Greetings;

I had to replace a terrabyte drive a few days ago, and I'm mounting it in
fstab by its label.

How does one go about determining the UUID of this replacement device so
I can make my fstab more uniform in its use?

----
blkid

Returned null.  Oh, no argument, then it works.  Including for swaps!

Craig

Or else "hal-device", which also works with swap partitions, etc.

This worked, but boy is it verbose.

$blkid /dev/sda1
/dev/sda1: LABEL="/boot-7" UUID="bfe129cd-8087-4c0b-aad1-08508b7adee2" SEC_TYPE="ext2" TYPE="ext3"

It works by partition not drive.

{^_-}
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]