mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Fix the helper name construction procedure to support also the case
when the node is over a regular md-partition:
\# lsblk
dasda 94:0 0 20.6G 0 disk
`-dasda1 94:1 0 20.6G 0 part
`-md0 9:0 0 20.6G 0 raid1
|-md0p1 259:0 0 1M 0 md /mnt
`-md0p2 259:1 0 20.6G 0 md
dasdb 94:4 0 20.6G 0 disk
`-dasdb1 94:5 0 20.6G 0 part
`-md0 9:0 0 20.6G 0 raid1
|-md0p1 259:0 0 1M 0 md /mnt
`-md0p2 259:1 0 20.6G 0 md
\# chreipl /mnt
Actual result:
chreipl: Unsupported device node "/mnt" specified
Expected result:
Re-IPL type: ccw
Device: 0.0.6569
Loadparm: ""
Bootparms: ""
clear: 0
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>