Date: Sun, 16 May 2004 18:10:05 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Joachim Dagerot <freebsd@dagerot.nu> Cc: freebsd-questions@freebsd.org Subject: Re: Changing /tmplocation? Message-ID: <20040517011005.GA43389@xor.obsecurity.org> In-Reply-To: <200405162237.i4GMbbv29180@thunder.trej.net> References: <200405162237.i4GMbbv29180@thunder.trej.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. > > 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. > > > 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? > > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAqBDtWry0BWjoQKURAss+AJ9bqeaHBR9rEZCoCnfrBgsehSmPBwCeLJob 76TX6u5L2JnZ5w0MpWTMoHs= =Naz2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040517011005.GA43389>
