Hi Max, maximilian attems wrote: > > 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. > > accepting patches ;)
sending a patch: > http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary > see mkinitramfs.8 in topdir. HTH: >From e99ff833679bc4c44a47e6773931e3c77abc4073 Mon Sep 17 00:00:00 2001 From: Axel Beckert <[email protected]> Date: Tue, 6 Apr 2010 20:01:46 +0200 Subject: [PATCH] Add documentation about $TMPDIR environment variable and problems with noexec mount options --- mkinitramfs.8 | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/mkinitramfs.8 b/mkinitramfs.8 index 7fdeefb..985acd2 100644 --- a/mkinitramfs.8 +++ b/mkinitramfs.8 @@ -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 must be on a +filesystem which allows the execution of files stored there, i.e. must +not be mounted with the +.B noexec +mount option. + .SH FILES .TP .I /etc/initramfs-tools/initramfs.conf -- 1.7.0.4 Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

