On Sat, 13 Mar 2010 00:26:58 -0500 (EST), Paul E Condon wrote:
> 
> A bit worrisome to me. UUID must be persistent during normal life of a
> device, so it can be used as an identifier.

It is important to distinguish between a device and a partition.
/dev/hda is a device.  /dev/hda1 is a partition.  Partitions
can be created, deleted, moved, resized, reformatted, etc. many
times during the life of its containing device.  The UUID of a
partition is assigned when the partition is formatted, either with
mkfs or mkswap.  It retains this value until it is formatted again,
at which time a new UUID is calculated.  I don't know what the
algorithm is for computing a UUID for a hard disk partition.
Of course, reformatting a partition destroys all data on it; so in
that sense it starts a new life with a new identity.

-- 
  .''`.     Stephen Powell    <zlinux...@wowway.com>
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/592907538.18899941268509580061.javamail.r...@md01.wow.synacor.com

Reply via email to