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

Re: changing partition names



Felix Miata a écrit :
> Pascal Hambourg composed on 2016-02-15 20:52 (UTC+0100):
> 
>>> be warned, if you use the partition table edit solution, uuid changes 
>>> each time you touch a partition.
> 
>> No, UUID don't change unless you change the contents of a partition.
>> They are not in the partition table. Same with labels.
> 
> Filesystem UUID won't change, but partition UUID will change:
> 
> # blkid /dev/sda10
> /dev/sda10: UUID="c37e5de4-f454-e44b-afe2-6e50d920a464"
> UUID_SUB="2d50ad8e-5131-2f5a-3bfc-ae071dda4314" LABEL="srv10:mdroot2"
> TYPE="linux_raid_member" PARTUUID="c22068fb-0a"

This is a fake PARTUUID, built by recent kernels and based on the
partition number with MSDOS partition tables. A real PARTUUID in a GPT
partition table would not change.


Reply to: