summaryrefslogtreecommitdiffstats
path: root/man/lsinitrd.1.asc
blob: 05f63e3a79666708ae2d739390cb8a8a89f25616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
LSINITRD(1)
=========
:doctype: manpage
:man source:   dracut
:man manual:   dracut
:man version:  {version}

NAME
----
lsinitrd - tool to show the contents of an initramfs image

SYNOPSIS
--------
*lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]

*lsinitrd* ['OPTION...'] -k <kernel version>

DESCRIPTION
-----------
lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
lsinitrd uses the default image _/efi/<machine-id>/<kernel-version>/initrd_,
_/boot/<machine-id>/<kernel-version>/initrd_,
_/boot/efi/<machine-id>/<kernel-version>/initrd_,
_/lib/modules/<kernel-version>/initrd_ or
_/boot/initramfs-<kernel-version>.img_.

OPTIONS
-------
**-h, --help**::
    print a help message and exit.

**-s, --size**::
    sort the contents of the initramfs by size.

**-f, --file** _<filename>_::
    print the contents of <filename>.

**-k, --kver** _<kernel version>_::
    inspect the initramfs of <kernel version>.

**-m, --mod**::
    list dracut modules included of the initramfs image.

**--unpack**::
    unpack the initramfs to the current directory, instead of displaying the contents.
    If optional filenames are given, will only unpack specified files, else the whole image will be unpacked.
    Won't unpack anything from early cpio part.

**--unpackearly**::
    unpack the early microcode initramfs to the current directory, instead of displaying the contents.
    Same as --unpack, but only unpack files from early cpio part.

**-v, --verbose**::
    unpack verbosely

AVAILABILITY
------------
The lsinitrd command is part of the dracut package and is available from
link:$$https://github.com/dracutdevs/dracut$$[https://github.com/dracutdevs/dracut]

AUTHORS
-------
Harald Hoyer

Amerigo Wang

Nikoli

SEE ALSO
--------
*dracut*(8)