mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
\# lsblk ... nvme0n1 259:0 0 7.3T 0 disk \_nvme0n1p1 259:4 0 2G 0 part \_md0 9:0 0 2G 0 raid1 /mnt nvme1n1 259:2 0 931.5G 0 disk \_nvme1n1p1 259:1 0 2G 0 part \_md0 9:0 0 2G 0 raid1 /mnt \# ./zipl_helper.md 9:0 Expected results: targetbase=259:0 targettype=SCSI targetblocksize=512 targetoffset=8192 targetbase=259:2 targettype=SCSI targetblocksize=512 targetoffset=8192 Actual results: targetbase=259:0 targettype=SCSI targetblocksize=512 targetoffset=8192 targetbase=259:0 <--- Incorrect! targettype=SCSI targetblocksize=512 targetoffset=8192 Make zipl helpers be aware of NVMe devices; Fix the procedure of partition resolution by including the NVMe case. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>