From ea5eae180603a4dcf32215a3d66709cb565987e7 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 6 Apr 2010 20:01:46 +0200 Subject: 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 --- mkinitramfs.8 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'mkinitramfs.8') diff --git a/mkinitramfs.8 b/mkinitramfs.8 index 7fdeefb..49db6c8 100644 --- a/mkinitramfs.8 +++ b/mkinitramfs.8 @@ -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 -- cgit v1.2.3