]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(man): add missing default paths
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 22 Apr 2022 16:23:01 +0000 (18:23 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 25 Apr 2022 21:29:30 +0000 (21:29 +0000)
man/dracut.8.asc
man/dracut.usage.asc
man/lsinitrd.1.asc

index 839811f30ec597122aa78c0e56c5bc0750d22797..59de9dd422d3b18b7a333ce719c4c72ba5857317 100644 (file)
@@ -18,8 +18,13 @@ DESCRIPTION
 
 Create an initramfs <image> for the kernel with the version <kernel version>.
 If <kernel version> is omitted, then the version of the actual running
-kernel is used. If <image> is omitted or empty, then the default location
-/boot/initramfs-<kernel version>.img is used.
+kernel is used. If <image> is omitted or empty, depending on bootloader
+specification, the default location can be
+_/efi/<machine-id>/<kernel-version>/initrd_,
+_/boot/<machine-id>/<kernel-version>/initrd_,
+_/boot/efi/<machine-id>/<kernel-version>/initrd_,
+_/lib/modules/<kernel-version>/initrd_ or
+_/boot/initramfs-<kernel-version>.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
index e02da6b08ec946c6d6c6bb16b46324cc5fc90a39..2574228ece295e6404540c37f879e5afbe32ada5 100644 (file)
@@ -5,9 +5,13 @@ To create a initramfs image, the most simple command is:
 
 This will generate a general purpose initramfs image, with all possible
 functionality resulting of the combination of the installed dracut modules and
-system tools. The image is /boot/initramfs-_++<kernel version>++_.img and
-contains the kernel modules of the currently active kernel with version
-_++<kernel version>++_.
+system tools. The image, depending on bootloader specification, can be
+_/efi/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
+_/boot/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
+_/boot/efi/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
+_/lib/modules/_++<kernel-version>++_/initrd_ or
+_/boot/initramfs-_++<kernel-version>++_.img_ and contains the kernel modules of
+the currently active kernel with version _++<kernel-version>++_.
 
 If the initramfs image already exists, dracut will display an error message, and
 to overwrite the existing image, you have to use the --force option.
index 7dbf0f44589f24ae9b0a52a1eb507f37b0eaae34..b89c5fc5288728f28a52ba0d76c82a65303635cc 100644 (file)
@@ -13,12 +13,15 @@ SYNOPSIS
 --------
 *lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
 
-*lsinitrd* ['OPTION...'] -k <kernel-version>
+*lsinitrd* ['OPTION...'] -k <kernel version>
 
 DESCRIPTION
 -----------
 lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
-lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
+lsinitrd uses the default image _/efi/<machine-id>/<kernel-version>/initrd_,
+_/boot/<machine-id>/<kernel-version>/initrd_,
+_/boot/efi/<machine-id>/<kernel-version>/initrd_,
+_/lib/modules/<kernel-version>/initrd_ or
 _/boot/initramfs-<kernel-version>.img_.
 
 OPTIONS