UUIDs on drives

Brian McKee brian.mckee at gmail.com
Thu Aug 14 13:51:06 UTC 2008


On Thu, Aug 14, 2008 at 9:44 AM, Marcin 'Qrczak' Kowalczyk
<qrczak at knm.org.pl> wrote:
> 2008/8/14 Brian McKee <brian.mckee at gmail.com>:
>
>> But that's the point.  The drive and partition numbers can and do
>> change - UUID doesn't.
>
> Except when resizing the swap with gparted, where /dev/sda5 does not
> change but UUID does.

I can come up with a half dozen other ways where UUID doesn't change
but drive letter does.  What's your point?  How often is swap the last
partition on your drive and you have room to expand it so that your
example is valid?  If  it really upsets you, label it SWAP and use
labels.   Just don't move that drive somewhere else you choose to do
the same thing.... For the majority of cases UUID is better.

Brian




More information about the ubuntu-users mailing list