summaryrefslogtreecommitdiffstats
path: root/fish/guestfish.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-01-19 21:47:23 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-01-19 21:47:23 +0000
commit78f1405de05ef1f2efebafd8245658d1707e59ef (patch)
tree062f322970f73e19bfdfc65b84d7887a781e92f2 /fish/guestfish.pod
parent316ad8311a41869cf5f253225137dd03d1211ce7 (diff)
downloadlibguestfs-78f1405de05ef1f2efebafd8245658d1707e59ef.tar.gz
libguestfs-78f1405de05ef1f2efebafd8245658d1707e59ef.tar.xz
libguestfs-78f1405de05ef1f2efebafd8245658d1707e59ef.zip
Use /var/tmp for the cached appliance (for FHS compliance).
The FHS advises large files not to be stored in the root filesystem[1], and that /var/tmp is persistent across reboots[2] (whereas /tmp is possibly not[3]). Therefore we should store the large cached supermin appliance in /var/tmp instead of /tmp. /tmp is still used for all other temporary files and directories. In either case you can override this by setting $TMPDIR. [1] http://www.pathname.com/fhs/pub/fhs-2.3.html#THEROOTFILESYSTEM [2] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE [3] http://www.pathname.com/fhs/pub/fhs-2.3.html#TMPTEMPORARYFILES
Diffstat (limited to 'fish/guestfish.pod')
-rw-r--r--fish/guestfish.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/fish/guestfish.pod b/fish/guestfish.pod
index 5ec6689e..0f318f04 100644
--- a/fish/guestfish.pod
+++ b/fish/guestfish.pod
@@ -1052,12 +1052,13 @@ set, it uses C<more>.
=item TMPDIR
-Location of temporary directory, defaults to C</tmp>.
+Location of temporary directory, defaults to C</tmp> except for the
+cached supermin appliance which defaults to C</var/tmp>.
If libguestfs was compiled to use the supermin appliance then the
real appliance is cached in this directory, shared between all
handles belonging to the same EUID. You can use C<$TMPDIR> to
-configure another directory to use in case C</tmp> is not large
+configure another directory to use in case C</var/tmp> is not large
enough.
=back