Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 18:41:02 -0700
From:      Charles Swiger <cswiger@mac.com>
To:        Chris Maness <chris@chrismaness.com>
Cc:        FreeBSD - <freebsd-questions@freebsd.org>
Subject:   Re: Changing TMPDIR for restore?
Message-ID:  <AAE4DC5A-8B20-4118-9D19-27D0DAFC4C8D@mac.com>
In-Reply-To: <CANnsUMFauyZhiw8tF1TYp75QrGimCV2otjE_iERXtvY35orxqg@mail.gmail.com>
References:  <CANnsUMFauyZhiw8tF1TYp75QrGimCV2otjE_iERXtvY35orxqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 29, 2015, at 4:46 PM, Chris Maness <chris@chrismaness.com> 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....

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAE4DC5A-8B20-4118-9D19-27D0DAFC4C8D>