Skip to content

Allow placing of partition suffix on WWID devices

John Unland requested to merge junland/mdev-conf:fix-part-names-pr into master

This PR allows adding the -part# suffix (# representing the number of the partition) to block devices identified with wwid ID's.

Main reason for this PR, is that when creating zfs pools using disk/by-id you will inevitably get a error after said command. This error will reference that it can't find either disk/by-id/wwn-0x<WWID>-part1 or disk/by-id/wwn-0x<WWID>-part9 links / disks.

Even with this specific use case I'm able to find that the disk/by-id/wwn-0x<WWID>-part# links are the same on Fedora 37 and Debian 11 in my testing.

Merge request reports