My idea is that in libblkid PART_ENTRY_SCHEME and PART_ENTRY_UUID are set together. If ID_PART_ENTRY_SCHEME did not get set, or set to something else than gpt, ID_PART_ENTRY_UUID should not be valid.
https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/v2.28/libblkid/src/partitions/partitions.c#772 -- https://code.launchpad.net/~medicalwei/curtin/+git/curtin/+merge/481164 Your team curtin developers is requested to review the proposed merge of ~medicalwei/curtin:raid-partuuid into curtin:master. -- Mailing list: https://launchpad.net/~curtin-dev Post to : curtin-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~curtin-dev More help : https://help.launchpad.net/ListHelp