--- a/man/dracut.8.asc +++ b/man/dracut.8.asc @@ -24,7 +24,7 @@ _/boot///initrd_, _/boot/efi///initrd_, _/lib/modules//initrd_ or -_/boot/initramfs-.img_. +_/boot/initrd.img-_. dracut creates an initial image used by the kernel for preloading the block device modules (such as IDE, SCSI or RAID) which are needed to access the root --- a/dracut.sh +++ b/dracut.sh @@ -1154,7 +1154,7 @@ elif [[ -f "$dracutsysrootdir"/lib/modules/${kernel}/initrd ]]; then outfile="$dracutsysrootdir/lib/modules/${kernel}/initrd" elif [[ -e $dracutsysrootdir/boot/vmlinuz-${kernel} ]]; then - outfile="$dracutsysrootdir/boot/initramfs-${kernel}.img" + outfile="$dracutsysrootdir/boot/initrd.img-${kernel}" elif [[ -z $dracutsysrootdir ]] \ && [[ $MACHINE_ID ]] \ && mountpoint -q /efi; then @@ -1164,7 +1164,7 @@ && mountpoint -q /boot/efi; then outfile="/boot/efi/${MACHINE_ID}/${kernel}/initrd" else - outfile="$dracutsysrootdir/boot/initramfs-${kernel}.img" + outfile="$dracutsysrootdir/boot/initrd.img-${kernel}" fi fi fi --- a/man/dracut.usage.asc +++ b/man/dracut.usage.asc @@ -10,7 +10,7 @@ _/boot/_++++_/_++++_/initrd_, _/boot/efi/_++++_/_++++_/initrd_, _/lib/modules/_++++_/initrd_ or -_/boot/initramfs-_++++_.img_ and contains the kernel modules of +_/boot/initrd.img-_++++_ and contains the kernel modules of the currently active kernel with version _++++_. If the initramfs image already exists, dracut will display an error message, and --- a/man/lsinitrd.1.asc +++ b/man/lsinitrd.1.asc @@ -22,7 +22,7 @@ _/boot///initrd_, _/boot/efi///initrd_, _/lib/modules//initrd_ or -_/boot/initramfs-.img_. +_/boot/initrd.img-_. OPTIONS ------- --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -134,8 +134,8 @@ image="/lib/modules/${KERNEL_VERSION}/initrd" elif [[ -f /lib/modules/${KERNEL_VERSION}/initramfs.img ]]; then image="/lib/modules/${KERNEL_VERSION}/initramfs.img" - elif [[ -f /boot/initramfs-${KERNEL_VERSION}.img ]]; then - image="/boot/initramfs-${KERNEL_VERSION}.img" + elif [[ -f /boot/initrd.img-${KERNEL_VERSION} ]]; then + image="/boot/initrd.img-${KERNEL_VERSION}" elif [[ $MACHINE_ID ]] \ && mountpoint -q /efi; then image="/efi/${MACHINE_ID}/${KERNEL_VERSION}/initrd" --- a/dracut-initramfs-restore.sh +++ b/dracut-initramfs-restore.sh @@ -39,8 +39,8 @@ IMG="/boot/efi/$MACHINE_ID/$KERNEL_VERSION/initrd" elif [[ -f /lib/modules/${KERNEL_VERSION}/initrd ]]; then IMG="/lib/modules/${KERNEL_VERSION}/initrd" -elif [[ -f /boot/initramfs-${KERNEL_VERSION}.img ]]; then - IMG="/boot/initramfs-${KERNEL_VERSION}.img" +elif [[ -f /boot/initrd.img-${KERNEL_VERSION} ]]; then + IMG="/boot/initrd.img-${KERNEL_VERSION}" elif mountpoint -q /efi; then IMG="/efi/$MACHINE_ID/$KERNEL_VERSION/initrd" elif mountpoint -q /boot/efi; then