mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
LILO allows specifying an md-RAID device as root, e.g. root=/dev/md0, but as usual translates them into device numbers, e.g. root=900. parsen_numeric translates device numbers back into e.g. /dev/block/9:0 but then tries to canonicalise them using readlink -f. This works OK for simple disk devices whose drivers will have initialised by the point it runs, but not for stacked disk devices which will be created later. We could move parse_numeric later, but I think it's preferable to handle this weird special case before running external scripts that use $ROOT. Closes: #815555 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>