]> git.ipfire.org Git - thirdparty/dracut.git/blob - lsinitrd.1.asc
fix(zfcp_rules): correct shellcheck regression when parsing ccw args
[thirdparty/dracut.git] / lsinitrd.1.asc
1 LSINITRD(1)
2 =========
3 :doctype: manpage
4 :man source: dracut
5 :man manual: dracut
6
7 NAME
8 ----
9 lsinitrd - tool to show the contents of an initramfs image
10
11 SYNOPSIS
12 --------
13 *lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
14
15 *lsinitrd* ['OPTION...'] -k <kernel-version>
16
17 DESCRIPTION
18 -----------
19 lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
20 lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
21 _/boot/initramfs-<kernel-version>.img_.
22
23 OPTIONS
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
31 **-f, --file** _<filename>_::
32 print the contents of <filename>.
33
34 **-k, --kver** _<kernel version>_::
35 inspect the initramfs of <kernel version>.
36
37 **-m, --mod**::
38 list dracut modules included of the initramfs image.
39
40 **--unpack**::
41 unpack the initramfs to the current directory, instead of displaying the contents.
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.
44
45 **--unpackearly**::
46 unpack the early microcode initramfs to the current directory, instead of displaying the contents.
47 Same as --unpack, but only unpack files from early cpio part.
48
49 **-v, --verbose**::
50 unpack verbosely
51
52 AVAILABILITY
53 ------------
54 The lsinitrd command is part of the dracut package and is available from
55 link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
56
57 AUTHORS
58 -------
59 Harald Hoyer
60
61 Amerigo Wang
62
63 Nikoli
64
65 SEE ALSO
66 --------
67 *dracut*(8)