Changing /tmplocation?

Kris Kennaway kris at obsecurity.org
Sun May 16 18:10:20 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040516/5ec86026/attachment.bin


More information about the freebsd-questions mailing list