UUIDs on drives

Derek Broughton news at pointerstop.ca
Thu Aug 14 16:42:06 UTC 2008


Marcin ‘Qrczak’ Kowalczyk wrote:

> 2008/8/14 Derek Broughton <news at pointerstop.ca>:
> 
>>> Except when resizing the swap with gparted, where /dev/sda5 does not
>>> change but UUID does.
>>
>> No, you're wrong there.  The swap has changed.  You have created a new,
>> different, swap partition, so the UUID must change.
> 
> I resized an ext3 partition, and moved and resized a swap partition
> (without even changing its relative order to other partitions). The
> UUID of the ext3 partition did not change. I see no reason why the
> UUID of the swap would *have to* change. It is just what was for some
> reason easier for gparted developers to do.

No, a swap "filesystem" is a fixed length, and resizing it changes it. 
Resizing some real filesystems would probably do the same.
-- 
derek





More information about the ubuntu-users mailing list