OS Manuals

/usr/bin/lsinitrd

Initramfs generator using udev

From dracut-ng 112-r5 (enterprise-packages), captured 2026-11-08 by running lsinitrd --help (exit 1). permalink

/usr/bin/lsinitrd: line 58: getopt: command not found
Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
Usage: lsinitrd [options] -k <kernel version>

-h, --help                  print a help message and exit.
-s, --size                  sort the contents of the initramfs by size.
-m, --mod                   list modules.
-f, --file <filename>       print the contents of <filename>.
--unpack                    unpack the initramfs, instead of displaying the contents.
                            If optional filenames are given, will only unpack specified files,
                            else the whole image will be unpacked. Won't unpack anything from early cpio part.
--unpackearly               unpack the early microcode part of the initramfs.
                            Same as --unpack, but only unpack files from early cpio part.
-v, --verbose               unpack verbosely.
-k, --kver <kernel version> inspect the initramfs of <kernel version>.
Options (7)
OptionDescriptionSource
-h, --helpprint a help message and exit.help
-s, --sizesort the contents of the initramfs by size.help
-m, --modlist modules.help
-f, --file filenameprint the contents of <filename>.help
--unpackunpack the initramfs, instead of displaying the contents.help
--unpackearlyunpack the early microcode part of the initramfs.help
-v, --verboseunpack verbosely.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.