For dname links and regular disk devices it looks like ID_PART_TABLE_UUID is already used:
https://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/block_meta.py#L229 def make_dname(volume, storage_config): ... if vol.get('type') == "disk": rule.append(compose_udev_equality('ENV{DEVTYPE}', "disk")) rule.append(compose_udev_equality('ENV{ID_PART_TABLE_UUID}', ptuuid))
For other devices this is not present by default but they have other identification methods.
elif vol.get('type') == "bcache": rule.append(compose_udev_equality("ENV{DEVNAME}", path))
Still, this is not usable for disks without partitions from MAAS.
For dname links and regular disk devices it looks like ID_PART_TABLE_UUID is already used:
https:/ /bazaar. launchpad. net/~curtin- dev/curtin/ trunk/view/ head:/curtin/ commands/ block_meta. py#L229
rule.append( compose_ udev_equality( 'ENV{DEVTYPE} ', "disk"))
rule.append( compose_ udev_equality( 'ENV{ID_ PART_TABLE_ UUID}', ptuuid))
def make_dname(volume, storage_config):
...
if vol.get('type') == "disk":
For other devices this is not present by default but they have other identification methods.
elif vol.get('type') == "bcache":
rule.append( compose_ udev_equality( "ENV{DEVNAME} ", path))
Still, this is not usable for disks without partitions from MAAS.