Linux Commands Examples

A great documentation place for Linux commands

lsinitramfs

list content of an initramfs image


see also : mkinitramfs - update-initramfs

Synopsis

lsinitramfs [options] <initramfsfile> [<initramfsfile>]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
declare FUNCTIONS=/lib/initcpio/functions
usage() {
cat<<USAGE
lsinitramfs 0.7.2
usage: ${0##*/} [options] <initramfs>
0
source
            
declare FUNCTIONS=functions
usage() {
cat<<USAGE
lsinitramfs %VERSION%
usage: ${0##*/} [options] <initramfs>
0
source
            
checkbin dialog "dialog " dialog
checkbin lsinitramfs "initramfs-tools " initramfs-tools
checkbin dirname "coreutils " coreutils

description

The lsinitramfs command lists the content of given initramfs images. It allows one to quickly check the content of one (or multiple) specified initramfs files.

options

-h

Display usage information and exit.

-l

Display long and more verbose listing of initramfs content.

usage examples

List initramfs content of current running kernel:

lsinitramfs /boot/initrd.img-$(uname -r)

List content of two initramfs files in verbose mode:

lsinitramfs -l /boot/vmlinuz-2.6.31-grml64 /boot/vmlinuz-2.6.33-grml64


see also

initramfs-tools, mkinitramfs , update-initramfs .


author

The initramfs-tools are written by Maximilian Attems <maks[:at:]debian[:dot:]org> and numerous others.

How can this site be more helpful to YOU ?


give  feedback