diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2010-04-06 20:01:46 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-04-07 02:24:53 +0200 |
commit | ea5eae180603a4dcf32215a3d66709cb565987e7 (patch) | |
tree | 62dd2f1b4b2d68c4b663911061d25a1b33e8d398 | |
parent | 38756f9759f3985b75c66532cf0b9ca0b591260c (diff) | |
download | initramfs-tools-ea5eae180603a4dcf32215a3d66709cb565987e7.tar.gz initramfs-tools-ea5eae180603a4dcf32215a3d66709cb565987e7.zip |
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>
-rw-r--r-- | mkinitramfs.8 | 15 |
1 files changed, 14 insertions, 1 deletions
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 |