From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 19:02:06 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 39DF516A4CE for ; Mon, 9 Aug 2004 19:02:06 +0000 (GMT) Received: from pigeon.infotechfl.com (mailrelay.infotechfl.com [209.251.147.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AB6D43D1F for ; Mon, 9 Aug 2004 19:01:57 +0000 (GMT) (envelope-from gmulder@infotechfl.com) Received: from garymulder ([172.20.0.75]) by pigeon.infotechfl.com (8.11.6/8.11.6) with ESMTP id i79J0xF23993; Mon, 9 Aug 2004 15:01:07 -0400 Message-Id: <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> X-Sender: gmulder@mail.infotechfl.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Mon, 09 Aug 2004 15:00:59 -0400 To: cpghost@cordula.ws, roland Mathieu From: Gary Mulder In-Reply-To: <20040809085011.GA7374@bsdbox.farid-hajji.net> References: <20040809083250.GA12445@lycurgue.localnet> <20040809083250.GA12445@lycurgue.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: questions@freebsd.org Subject: Re: A question about /tmp 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, 09 Aug 2004 19:02:06 -0000 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 , cpghost@cordula.ws 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 Info Tech, Inc. 5700 SW 34th Street, Suite 1235 Phone: (352) 381-4400 Gainesville, FL 32608 Fax: (352) 381-4444