initramfs-tools/lsinitramfs.8
Ben Hutchings 00809d736a Make manual pages and usage messages more consistent
* Don't use angle brackets around parameters
* Show all options in manual page synopses if possible
* Make the usage summary line match the manual page synopsis,
  excluding the -h option
* List all options in usage messages
* Refer to manual pages from usage messages
* Include one blank line at start and end of usage messages

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06 03:37:11 +00:00

57 lines
1.2 KiB
Groff

.TH LSINITRAMFS 8 "2015/12/09" "initramfs\-tools" "System Administration"
.SH NAME
lsinitramfs \- list content of an initramfs image
.SH SYNOPSIS
.B lsinitramfs
.RB [ -l ]
.IR initramfs-file ...
.br
.BR lsinitramfs " " -h
.SH DESCRIPTION
The
.B lsinitramfs
command lists the content of given initramfs images. It allows one to quickly check
the content of one (or multiple) specified initramfs files.
.SH OPTIONS
.TP
.B -h
Display usage information and exit.
.TP
.B -l
Display long and more verbose listing of initramfs content.
.SH USAGE EXAMPLES
List initramfs content of current running kernel:
.PP
.B lsinitramfs /boot/initrd.img-$(uname -r)
List content of two initramfs files in verbose mode:
.PP
.B lsinitramfs -l /boot/vmlinuz-2.6.31-grml64 /boot/vmlinuz-2.6.33-grml64
.SH BUGS
.BR lsinitramfs
cannot deal with multiple-segmented initramfs images, except where an
early (uncompressed) initramfs with system firmware is prepended to
the regular compressed initramfs.
.SH AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>
and numerous others.
.SH SEE ALSO
.BR
.IR initramfs-tools (7),
.IR mkinitramfs (8),
.IR unmkinitramfs (8),
.IR update-initramfs (8).