mkinitramfs.8: Add information about $TMPDIR environment variable

This documents problem with noexec mount options and fixes:

BTW: The information about mkinitramfs looking at $TMPDIR is missing in
the mkinitramfs(8) man page. Looked there (mostly for commandline
options) before reporting that bug. But even searching for "TMP" in
there now didn't find any hint on that.

[ s/must/should/, date ]
Signed-off-by: maximilian attems <maks@debian.org>
This commit is contained in:
Axel Beckert 2010-04-06 20:01:46 +02:00 committed by maximilian attems
parent 38756f9759
commit ea5eae1806

View File

@ -1,4 +1,4 @@
.TH MKINITRAMFS 8 "2010/04/04" "Linux" "mkinitramfs manual"
.TH MKINITRAMFS 8 "2010/04/07" "Linux" "mkinitramfs manual"
.SH NAME
mkinitramfs \- low-level tool for generating an initramfs image
@ -92,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