From owner-freebsd-questions@freebsd.org Tue Jun 30 02:41:27 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 996B6990325 for ; Tue, 30 Jun 2015 02:41:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05im-asmtp001.me.com (st11p05im-asmtp001.me.com [17.172.109.149]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74FCA187D for ; Tue, 30 Jun 2015 02:41:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from [17.149.235.49] (unknown [17.149.235.49]) by st11p05im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NQQ00CGXI0FYB50@st11p05im-asmtp001.me.com> for freebsd-questions@freebsd.org; Tue, 30 Jun 2015 01:41:05 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-06-30_01:2015-06-29,2015-06-30,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1506300028 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Changing TMPDIR for restore? From: Charles Swiger In-reply-to: Date: Mon, 29 Jun 2015 18:41:02 -0700 Cc: FreeBSD - Content-transfer-encoding: 7bit Message-id: References: To: Chris Maness X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 02:41:27 -0000 On Jun 29, 2015, at 4:46 PM, Chris Maness 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