On my -current 64 system booting a raid1 (2 disks), I see the following output from /usr/share/mkinitrd/mkinitrd_command_generator.sh:
Code:
#
# mkinitrd_command_generator.sh revision 1.45
#
# This script will now make a recommendation about the command to use
# in case you require an initrd image to boot a kernel that does not
# have support for your storage or root filesystem built in
# (such as the Slackware 'generic' kernels').
# A suitable 'mkinitrd' command will be:
mkinitrd -c -k 4.19.17 -f linux_raid_member
linux_raid_member
ext4 -r /dev/sde2 /dev/sdf2 /dev/md0 -u -o /boot/initrd.gz
What's weird:
1) Output is on 3 lines
2) Mentions "linux_raid_member"
3) Mentions 3 root devices (sde/sdf/md0) when it should just be md0
4) Does not include modules such as jbd, ext4, etc
I don't remember ever seeing this kind of output before - seems like a new or somewhat recent problem.
On my other system booting a single disk, non-raid, output looks fine:
Code:
#
# mkinitrd_command_generator.sh revision 1.45
#
# This script will now make a recommendation about the command to use
# in case you require an initrd image to boot a kernel that does not
# have support for your storage or root filesystem built in
# (such as the Slackware 'generic' kernels').
# A suitable 'mkinitrd' command will be:
mkinitrd -c -k 4.19.18 -f ext4 -r /dev/nvme0n1p2 -m jbd2:mbcache:crc32c-intel:ext4 -u -o /boot/initrd.gz
Both systems have mkinitrd-1.4.11-x86_64-11, one system is running 1 day behind on kernel packages and a few other recent packages.