From owner-freebsd-questions@FreeBSD.ORG Sun May 16 18:10:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6CE116A4CE for ; Sun, 16 May 2004 18:10:20 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 435C943D31 for ; Sun, 16 May 2004 18:10:20 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (3865259054c23b747f11bb250909f8a9@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i4H1A6sR021401; Sun, 16 May 2004 20:10:16 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E0EA05490E; Sun, 16 May 2004 18:10:05 -0700 (PDT) Date: Sun, 16 May 2004 18:10:05 -0700 From: Kris Kennaway To: Joachim Dagerot Message-ID: <20040517011005.GA43389@xor.obsecurity.org> References: <200405162237.i4GMbbv29180@thunder.trej.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <200405162237.i4GMbbv29180@thunder.trej.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Changing /tmplocation? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 01:10:20 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2004 at 12:37:36AM +0200, Joachim Dagerot wrote: > I have, for some reason, a special partition that mounts to /tmp. > Unfortunately this partition is very small, so not seldom do I get > problems when trying to extract files etc. >=20 > My idea is to have /tmp as a normal directory right under /, if that's > a bad idea I have a few other disks/volumes where it can reside. >=20 >=20 > My question is: how do I chaneg the /tmp location, when in INIT 5 I'm > not allowed, and since this is a server I don't have a keyboard nor a > monitor. So I must have it done through telnet (SSH). Is it possible, > and what steps must I take? >=20 > Thanks in advance! The canonical way to specify where temporary files should go is to set the TMPDIR environment variable. Most applications respect this. Kris --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAqBDtWry0BWjoQKURAss+AJ9bqeaHBR9rEZCoCnfrBgsehSmPBwCeLJob 76TX6u5L2JnZ5w0MpWTMoHs= =Naz2 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--