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
examples
source
declare FUNCTIONS=/lib/initcpio/functions
usage() {
cat<<USAGE
lsinitramfs 0.7.2
usage: ${0##*/} [options]
<initramfs>
source
declare FUNCTIONS=functions
usage() {
cat<<USAGE
lsinitramfs %VERSION%
usage: ${0##*/} [options]
<initramfs>
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.