* 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>
Set the .TH source parameter for all pages to "initramfs-tools".
Set the .TH manual parameter to a commonly used name for the man page
section.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Set each page's date to the date of the last substantive
change, i.e. excluding cross-reference updates and spelling fixes.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This command supports extracting files from an initramfs image. It is
designed to be a drop-in for cpio wherever an initramfs may be present.
It is implemented using the code from lsinitramfs, which now delegates
to uninitramfs instead of cpio.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
[bwh: Rename it from uninitramfs to unmkinitramfs; add to .install list]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
lsinitramfs does now support the common case of a multi-segment
initramfs, but not arbitrary concatenations.
Closes: #790095
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
lsinitramfs cannot deal with a multi-segmented initramfs archive, such
as one with an uncompressed early initramfs prepended to the main
compressed initramfs. Document this in the manpage.
The kernel will parse all cpio archives it can find in the initramfs in
sequence, and it doesn't care if some of them are compressed and others
are not.
Signed-off-by: Henrique de Moraes Holschuh <hmh@debian.org>
useful script to quickly look into initramfs for debugger
or bug reporter, inspired by similar dracut tool.
Signed-off-by: maximilian attems <maks@debian.org>