Changing TMPDIR for restore?

Charles Swiger cswiger at
Tue Jun 30 02:41:27 UTC 2015

On Jun 29, 2015, at 4:46 PM, Chris Maness <chris at> wrote:
> I have tried changing the TMPDIR env variable for restore as I am
> using a livecd to restore my server from a dump.  However, restore
> doesn't seem to be recognizing the new tmp directory I created for it.
> I did #set TMPDIR='/mnt/tmp'  and #echo $TMPDIR shows the correct
> directory.  I am stuck, and not finding any hints on the net.
> Any suggestions?

Try "export TMPDIR" next.  Or do it in one step via "export TMPDIR=/mnt/tmp".
Only exported variables get inherited by subprocesses....


More information about the freebsd-questions mailing list