Skip to content

Commit ffc1985

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(man): add missing default paths
1 parent 49ea6c4 commit ffc1985

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

man/dracut.8.asc

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ DESCRIPTION
1818

1919
Create an initramfs <image> for the kernel with the version <kernel version>.
2020
If <kernel version> is omitted, then the version of the actual running
21-
kernel is used. If <image> is omitted or empty, then the default location
22-
/boot/initramfs-<kernel version>.img is used.
21+
kernel is used. If <image> is omitted or empty, depending on bootloader
22+
specification, the default location can be
23+
_/efi/<machine-id>/<kernel-version>/initrd_,
24+
_/boot/<machine-id>/<kernel-version>/initrd_,
25+
_/boot/efi/<machine-id>/<kernel-version>/initrd_,
26+
_/lib/modules/<kernel-version>/initrd_ or
27+
_/boot/initramfs-<kernel-version>.img_.
2328

2429
dracut creates an initial image used by the kernel for preloading the block
2530
device modules (such as IDE, SCSI or RAID) which are needed to access the root

man/dracut.usage.asc

+7-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ To create a initramfs image, the most simple command is:
55

66
This will generate a general purpose initramfs image, with all possible
77
functionality resulting of the combination of the installed dracut modules and
8-
system tools. The image is /boot/initramfs-_++<kernel version>++_.img and
9-
contains the kernel modules of the currently active kernel with version
10-
_++<kernel version>++_.
8+
system tools. The image, depending on bootloader specification, can be
9+
_/efi/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
10+
_/boot/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
11+
_/boot/efi/_++<machine-id>++_/_++<kernel-version>++_/initrd_,
12+
_/lib/modules/_++<kernel-version>++_/initrd_ or
13+
_/boot/initramfs-_++<kernel-version>++_.img_ and contains the kernel modules of
14+
the currently active kernel with version _++<kernel-version>++_.
1115

1216
If the initramfs image already exists, dracut will display an error message, and
1317
to overwrite the existing image, you have to use the --force option.

man/lsinitrd.1.asc

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ SYNOPSIS
1313
--------
1414
*lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
1515

16-
*lsinitrd* ['OPTION...'] -k <kernel-version>
16+
*lsinitrd* ['OPTION...'] -k <kernel version>
1717

1818
DESCRIPTION
1919
-----------
2020
lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
21-
lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
21+
lsinitrd uses the default image _/efi/<machine-id>/<kernel-version>/initrd_,
22+
_/boot/<machine-id>/<kernel-version>/initrd_,
23+
_/boot/efi/<machine-id>/<kernel-version>/initrd_,
24+
_/lib/modules/<kernel-version>/initrd_ or
2225
_/boot/initramfs-<kernel-version>.img_.
2326

2427
OPTIONS

0 commit comments

Comments
 (0)