From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 22:42:36 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 675A216A4CE for ; Mon, 9 Aug 2004 22:42:36 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F9D43D1D for ; Mon, 9 Aug 2004 22:42:35 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id C63E34B05D; Tue, 10 Aug 2004 00:43:10 +0200 (CEST) Date: Tue, 10 Aug 2004 00:47:25 +0200 From: cpghost@cordula.ws To: Gary Mulder Message-ID: <20040809224725.GA32518@bsdbox.farid-hajji.net> References: <20040809083250.GA12445@lycurgue.localnet> <20040809083250.GA12445@lycurgue.localnet> <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> User-Agent: Mutt/1.5.6i 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 22:42:36 -0000 On Mon, Aug 09, 2004 at 03:00:59PM -0400, Gary Mulder wrote: > 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. YES! Thanks for pointing this out! I've forgot to say that my /var mount point on the root partition instead of being empty, contains a tmp subdir /var/tmp (just as you've said). That's the reason why the symlink works even in single-user mode. After going multi-user, the real /var masks all single-user tempfiles, but THAT was never a problem, at least not for me. I admit that this setup is quite fragile. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/