summaryrefslogtreecommitdiffstats
path: root/unmkinitramfs.8
diff options
context:
space:
mode:
Diffstat (limited to 'unmkinitramfs.8')
-rw-r--r--unmkinitramfs.856
1 files changed, 56 insertions, 0 deletions
diff --git a/unmkinitramfs.8 b/unmkinitramfs.8
new file mode 100644
index 0000000..ae9252d
--- /dev/null
+++ b/unmkinitramfs.8
@@ -0,0 +1,56 @@
+.TH UNMKINITRAMFS 8 "2016/12/15" "initramfs\-tools" "System Administration"
+
+.SH NAME
+unmkinitramfs \- extract content from an initramfs image
+
+.SH SYNOPSIS
+.B unmkinitramfs
+.RB [ -v ]
+.IR initramfs-file " " directory
+.br
+.BR unmkinitramfs " " -h
+
+.SH DESCRIPTION
+The
+.B unmkinitramfs
+command extracts the content of a given initramfs image using
+.BR cpio .
+If the image contains multiple segments, each are passed to
+.B cpio
+in order.
+
+.SH OPTIONS
+
+.TP
+.B -h
+Display usage information and exit.
+
+.TP
+.B -v
+Display verbose messages about extraction.
+
+
+.SH USAGE EXAMPLES
+
+Extract initramfs content of current running kernel:
+
+.PP
+.B unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/
+
+
+.SH BUGS
+.BR unmkinitramfs
+cannot deal with multiple-segmented initramfs images, except where an
+early (uncompressed) initramfs with system firmware is prepended to
+the regular compressed initramfs.
+
+.SH AUTHOR
+The initramfs-tools are written by Maximilian Attems <maks@debian.org>
+and numerous others.
+
+.SH SEE ALSO
+.BR
+.IR initramfs-tools (7),
+.IR lsinitramfs (8),
+.IR mkinitramfs (8),
+.IR update-initramfs (8).