]> git.ipfire.org Git - thirdparty/dracut.git/blame - lsinitrd.1.asc
lsinitrd: switch to getopt and add "-f" and "-k" parameter
[thirdparty/dracut.git] / lsinitrd.1.asc
CommitLineData
0e14946a
HH
1LSINITRD(1)
2=========
3:doctype: manpage
4:man source: dracut
5:man manual: dracut
6
7NAME
8----
9lsinitrd - tool to show the contents of an initramfs image
10
11SYNOPSIS
12--------
7d9bb76a
HH
13*lsinitrd* ['OPTION...'] [<image> [<filename> [<filename> [...] ]]]
14
15*lsinitrd* ['OPTION...'] -k <kernel-version>
0e14946a
HH
16
17DESCRIPTION
18-----------
19lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
dde2db3d
HH
20lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
21_/boot/initramfs-<kernel-version>.img_.
0e14946a
HH
22
23OPTIONS
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
0e14946a
HH
37AVAILABILITY
38------------
39The lsinitrd command is part of the dracut package and is available from
40link:$$https://dracut.wiki.kernel.org$$[https://dracut.wiki.kernel.org]
41
42AUTHORS
43-------
44Harald Hoyer
45
46Amerigo Wang
47
48Nikoli
49
50SEE ALSO
51--------
52*dracut*(8)