A question about /tmp

cpghost at cordula.ws cpghost at cordula.ws
Mon Aug 9 01:45:24 PDT 2004


On Mon, Aug 09, 2004 at 10:32:50AM +0200, roland Mathieu wrote:
> 
> Hello,
> 
> I want to install FreeBSD with a small root partition. It's
> possible to use a different partition for /tmp, but /tmp can also be a
> symbolic link pointing, for example, /var/tmp. Is it a good idea ? If not
> what sort of problem will I encounter ?

There's nothing wrong with a symlink. I have /tmp -> /var/tmp on
all my servers and never noticed the difference to a dedicated
/tmp partition. Theoretically, you'd experience a small performance
hit, but only if you open(2) many /tmp files very very often. 
Even with a make buildworld, or a portupgrade -aRrkf, I didn't
notice any difference in speed. Of course, YMMV.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


More information about the freebsd-questions mailing list