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