]> git.ipfire.org Git - thirdparty/dracut.git/blob - lsinitrd.1.asc
network-legacy/ifup: nuke pid and lease files if dhclient failed
[thirdparty/dracut.git] / lsinitrd.1.asc
1 LSINITRD(1)
2 =========
3 :doctype: manpage
4 :man source: dracut
5 :man manual: dracut
6 :man version: {version}
7
8 NAME
9 ----
10 lsinitrd - tool to show the contents of an initramfs image
11
12 SYNOPSIS
13 --------
14 *lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
15
16 *lsinitrd* ['OPTION...'] -k <kernel-version>
17
18 DESCRIPTION
19 -----------
20 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
22 _/boot/initramfs-<kernel-version>.img_.
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
32 **-f, --file** _<filename>_::
33 print the contents of <filename>.
34
35 **-k, --kver** _<kernel version>_::
36 inspect the initramfs of <kernel version>.
37
38 **-m, --mod**::
39 list dracut modules included of the initramfs image.
40
41 **--unpack**::
42 unpack the initramfs to the current directory, instead of displaying the contents.
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.
45
46 **--unpackearly**::
47 unpack the early microcode initramfs to the current directory, instead of displaying the contents.
48 Same as --unpack, but only unpack files from early cpio part.
49
50 **-v, --verbose**::
51 unpack verbosely
52
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)