1ec643ce92
The new regex is similar to BLOCKDEVICE_NAME_REGEX but also allows numbers at the end of the device name (also allows partitions names). For nvme partitions it also allows the letter p and a number. Signed-off-by: Markus Frank <m.frank@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Max Carrara <m.carrara@proxmox.com> Tested-by: Max Carrara <m.carrara@proxmox.com>