Re: [PATCH 08/18] cdev: use more descriptive struct cdev::diskuuid/partuuid

2023-05-31 Thread Marco Felsch
On 23-05-31, Ahmad Fatoum wrote: > The UUID field has different meanings: > > For a master cdev: > > - GPT Header DiskGUID if GPT-formatted > - MBR Header NT Disk Signature if MBR-formatted > > For a partition cdev: > > - GPT UniquePartitionGUID > - MBR Header NT Disk Signature followed

[PATCH 08/18] cdev: use more descriptive struct cdev::diskuuid/partuuid

2023-05-31 Thread Ahmad Fatoum
The UUID field has different meanings: For a master cdev: - GPT Header DiskGUID if GPT-formatted - MBR Header NT Disk Signature if MBR-formatted For a partition cdev: - GPT UniquePartitionGUID - MBR Header NT Disk Signature followed by "-${partititon_number}" Later code will add yet an