'\" t .\" Title: lsinitrd .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 10/13/2024 .\" Manual: dracut .\" Source: dracut 105 .\" Language: English .\" .TH "LSINITRD" "1" "10/13/2024" "dracut 105" "dracut" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" lsinitrd \- tool to show the contents of an initramfs image .SH "SYNOPSIS" .sp \fBlsinitrd\fR [\fIOPTION\&...\fR] [ [ [ [\&...] ]]] .sp \fBlsinitrd\fR [\fIOPTION\&...\fR] \-k .SH "DESCRIPTION" .sp lsinitrd shows the contents of an initramfs image\&. if is omitted, then lsinitrd determines the default location based on the local configuration or Linux distribution policy\&. .SH "OPTIONS" .PP \fB\-h, \-\-help\fR .RS 4 print a help message and exit\&. .RE .PP \fB\-s, \-\-size\fR .RS 4 sort the contents of the initramfs by size\&. .RE .PP \fB\-f, \-\-file\fR\ \&\fI\fR .RS 4 print the contents of \&. .RE .PP \fB\-k, \-\-kver\fR\ \&\fI\fR .RS 4 inspect the initramfs of \&. .RE .PP \fB\-m, \-\-mod\fR .RS 4 list dracut modules included of the initramfs image\&. .RE .PP \fB\-\-unpack\fR .RS 4 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\(cqt unpack anything from early cpio part\&. .RE .PP \fB\-\-unpackearly\fR .RS 4 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\&. .RE .PP \fB\-v, \-\-verbose\fR .RS 4 unpack verbosely .RE .SH "AVAILABILITY" .sp The lsinitrd command is part of the dracut package and is available from \m[blue]\fBhttps://github\&.com/dracut\-ng/dracut\-ng\fR\m[] .SH "AUTHORS" .sp Harald Hoyer .sp Amerigo Wang .sp Nikoli .SH "SEE ALSO" .sp \fBdracut\fR(8)