]>
Commit | Line | Data |
---|---|---|
0e14946a HH |
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 | -------- | |
7d9bb76a HH |
13 | *lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]] |
14 | ||
15 | *lsinitrd* ['OPTION...'] -k <kernel-version> | |
0e14946a HH |
16 | |
17 | DESCRIPTION | |
18 | ----------- | |
19 | lsinitrd shows the contents of an initramfs image. if <image> is omitted, then | |
dde2db3d HH |
20 | lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or |
21 | _/boot/initramfs-<kernel-version>.img_. | |
0e14946a HH |
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 | ||
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 |
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) |