]> git.ipfire.org Git - thirdparty/dracut.git/blame - lsinitrd.1.asc
dracut_mkdir(): create parent directories as needed.
[thirdparty/dracut.git] / lsinitrd.1.asc
CommitLineData
0e14946a
HH
1LSINITRD(1)
2=========
3:doctype: manpage
4:man source: dracut
5:man manual: dracut
50057af1 6:man version: {version}
0e14946a
HH
7
8NAME
9----
10lsinitrd - tool to show the contents of an initramfs image
11
12SYNOPSIS
13--------
7d9bb76a
HH
14*lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
15
16*lsinitrd* ['OPTION...'] -k <kernel-version>
0e14946a
HH
17
18DESCRIPTION
19-----------
20lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
dde2db3d
HH
21lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
22_/boot/initramfs-<kernel-version>.img_.
0e14946a
HH
23
24OPTIONS
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
53AVAILABILITY
54------------
55The lsinitrd command is part of the dracut package and is available from
56link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
57
58AUTHORS
59-------
60Harald Hoyer
61
62Amerigo Wang
63
64Nikoli
65
66SEE ALSO
67--------
68*dracut*(8)