From 45a60da7f5b15b453372bd1e75c1649362cf35a8 Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Mon, 21 Jun 2010 14:30:37 +0900 Subject: [PATCH] add TMPDIR description makedumpfile use a TMPDIR environment variable since below commit. ----- commit 4d5bca23164d5943bb0f75bdd5e7866af795bb0c Author: Cliff Wickman Date: Wed Jun 16 08:51:04 2010 -0500 makedumpfile: output files filling ramdisk ----- So this patch adding the description about that. Signed-off-by: Masayuki Igawa --- makedumpfile.8 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'makedumpfile.8') diff --git a/makedumpfile.8 b/makedumpfile.8 index c4cd023..defece0 100644 --- a/makedumpfile.8 +++ b/makedumpfile.8 @@ -453,6 +453,18 @@ Show help message. \fB\-v\fR Show the version of makedumpfile. +.SH ENVIRONMENT VARIABLES + +.TP 8 +.B TMPDIR +This environment variable is for a temporary memory bitmap file. +If your machine has a lots of memory and you use tmpfs on /tmp, makedumpfile +can fail for a little memory in the 2nd kernel because makedumpfile makes a +very large temporary memory bitmap file in this case. To avoid this failure, +you can set a TMPDIR environment variable. If you do not set a TMPDIR +environment variable, makedumpfile uses /tmp directory for a temporary +bitmap file as a default. + .SH DIAGNOSTICS makedumpfile exits with the following value. .TP -- cgit v1.2.3