summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg/mkimg.1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-05-22 20:24:30 +0000
committermarcel <marcel@FreeBSD.org>2014-05-22 20:24:30 +0000
commit4bb20f3e2297915cd93ba801f8a88bfeaffa52cd (patch)
treee30c821cd9c76b943c0258f1dff60fce0d5c49df /usr.bin/mkimg/mkimg.1
parent951d63dbce6f6b5229ddd3f20ffb7d2d30e3675c (diff)
downloadFreeBSD-src-4bb20f3e2297915cd93ba801f8a88bfeaffa52cd.zip
FreeBSD-src-4bb20f3e2297915cd93ba801f8a88bfeaffa52cd.tar.gz
Create our temporary file in $TMPDIR, if the environment variable
is set. /tmp otherwise. Submitted by: Dan McGregor <danismostlikely@gmail.com>
Diffstat (limited to 'usr.bin/mkimg/mkimg.1')
-rw-r--r--usr.bin/mkimg/mkimg.17
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1
index f5144be..cf86308 100644
--- a/usr.bin/mkimg/mkimg.1
+++ b/usr.bin/mkimg/mkimg.1
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 27, 2014
+.Dd May 22, 2014
.Dt MKIMG 1
.Os
.Sh NAME
@@ -159,6 +159,11 @@ For partitioning schemes that feature partition labels, the
utility supports assigning labels to the partitions specified.
In the following example the file system partition is labeled as 'backup':
.Dl % mkimg -s gpt -p freebsd-ufs/backup:=file-system.ufs -o gpt.img
+.Sh ENVIRONMENT
+.Bl -tag -width "TMPDIR" -compact
+.It Ev TMPDIR
+Directory to put temporary files in; default is
+.Pa /tmp .
.Sh SEE ALSO
.Xr gpart 8
.Xr makefs 8
OpenPOWER on IntegriCloud