]>
Commit | Line | Data |
---|---|---|
0e14946a HH |
1 | LSINITRD(1) |
2 | ========= | |
3 | :doctype: manpage | |
4 | :man source: dracut | |
5 | :man manual: dracut | |
50057af1 | 6 | :man version: {version} |
0e14946a HH |
7 | |
8 | NAME | |
9 | ---- | |
10 | lsinitrd - tool to show the contents of an initramfs image | |
11 | ||
12 | SYNOPSIS | |
13 | -------- | |
7d9bb76a HH |
14 | *lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]] |
15 | ||
16 | *lsinitrd* ['OPTION...'] -k <kernel-version> | |
0e14946a HH |
17 | |
18 | DESCRIPTION | |
19 | ----------- | |
20 | lsinitrd shows the contents of an initramfs image. if <image> is omitted, then | |
dde2db3d HH |
21 | lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or |
22 | _/boot/initramfs-<kernel-version>.img_. | |
0e14946a HH |
23 | |
24 | OPTIONS | |
25 | ------- | |
26 | **-h, --help**:: | |
27 | print a help message and exit. | |
28 | ||
29 | **-s, --size**:: | |
30 | sort the contents of the initramfs by size. | |
31 | ||
7d9bb76a HH |
32 | **-f, --file** _<filename>_:: |
33 | print the contents of <filename>. | |
34 | ||
35 | **-k, --kver** _<kernel version>_:: | |
36 | inspect the initramfs of <kernel version>. | |
37 | ||
143420bc KS |
38 | **-m, --mod**:: |
39 | list dracut modules included of the initramfs image. | |
40 | ||
97bbba69 HH |
41 | **--unpack**:: |
42 | unpack the initramfs to the current directory, instead of displaying the contents. | |
143420bc KS |
43 | If optional filenames are given, will only unpack specified files, else the whole image will be unpacked. |
44 | Won't unpack anything from early cpio part. | |
97bbba69 HH |
45 | |
46 | **--unpackearly**:: | |
47 | unpack the early microcode initramfs to the current directory, instead of displaying the contents. | |
143420bc | 48 | Same as --unpack, but only unpack files from early cpio part. |
97bbba69 HH |
49 | |
50 | **-v, --verbose**:: | |
51 | unpack verbosely | |
52 | ||
0e14946a HH |
53 | AVAILABILITY |
54 | ------------ | |
55 | The lsinitrd command is part of the dracut package and is available from | |
56 | link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org] | |
57 | ||
58 | AUTHORS | |
59 | ------- | |
60 | Harald Hoyer | |
61 | ||
62 | Amerigo Wang | |
63 | ||
64 | Nikoli | |
65 | ||
66 | SEE ALSO | |
67 | -------- | |
68 | *dracut*(8) |