summaryrefslogtreecommitdiff
path: root/mkinitramfs.8
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitramfs.8')
-rw-r--r--mkinitramfs.826
1 files changed, 24 insertions, 2 deletions
diff --git a/mkinitramfs.8 b/mkinitramfs.8
index abb3f39..49db6c8 100644
--- a/mkinitramfs.8
+++ b/mkinitramfs.8
@@ -1,10 +1,12 @@
-.TH MKINITRAMFS 8 "2008/08/12" "" "mkinitramfs manual"
+.TH MKINITRAMFS 8 "2010/04/07" "Linux" "mkinitramfs manual"
.SH NAME
mkinitramfs \- low-level tool for generating an initramfs image
.SH SYNOPSIS
.B mkinitramfs
+.RB [ \-c
+.IR compress ]
.RB [ \-d
.IR confdir ]
.RB [ \-k ]
@@ -27,7 +29,7 @@ mkinitramfs \- low-level tool for generating an initramfs image
The
.B mkinitramfs
script generates an initramfs image.
-The initramfs is a gzipped cpio archive. The archive can be used on a
+The initramfs is a compressed cpio archive. The archive can be used on a
different box of the same arch with the corresponding Linux kernel.
.B mkinitramfs
is meant for advanced usage. On your local box
@@ -45,6 +47,13 @@ happens in this early userspace.
.SH OPTIONS
.TP
+\fB \-c \fI compress
+Override the
+.B COMPRESS
+setting in
+.IR initramfs.conf .
+
+.TP
\fB \-d \fI confdir
Set an alternate configuration directory.
@@ -83,6 +92,19 @@ This option queries if mkinitramfs can create ramdisks on a running kernel of ve
This option queries if mkinitramfs can create ramdisks for kernel version
.IR tversion .
+.SH ENVIRONMENT
+.B mkinitramfs
+honours the
+.B TMPDIR
+environment variable. If set, it uses subdirectories in the given
+directory to create its temporary working directories. Else it uses
+.I /tmp
+as default value for that purpose. The given directory should be on a
+filesystem which allows the execution of files stored there, i.e.
+should not be mounted with the
+.B noexec
+mount option.
+
.SH FILES
.TP
.I /etc/initramfs-tools/initramfs.conf