Of course having /tmp -> /var/tmp means that you have no valid /tmp in single user mode where /var is not mounted. That is unless you created /var/tmp in single user mode, but that would mean /var would be mounted over the root partition's /var/tmp dir in multi-user mode, which can be non-intuitive to say the least.

The net result of not having a valid /tmp is that some commands issued in single-user mode may fail non-obviously as they might (reasonably?) assume /tmp is available.

Gary

At 04:50 AM 8/9/2004 , [EMAIL PROTECTED] wrote:
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.

-- Gary Mulder <mailto:[EMAIL PROTECTED]> Info Tech, Inc. 5700 SW 34th Street, Suite 1235 Phone: (352) 381-4400 Gainesville, FL 32608 Fax: (352) 381-4444 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to