From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 19:15:49 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 26B1016A4D2 for ; Mon, 9 Aug 2004 19:15:49 +0000 (GMT) Received: from out008.verizon.net (out008pub.verizon.net [206.46.170.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFF8443D5A for ; Mon, 9 Aug 2004 19:15:48 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.100.95]) by out008.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040809191548.ZSXZ8960.out008.verizon.net@[192.168.1.3]>; Mon, 9 Aug 2004 14:15:48 -0500 Message-ID: <4117CD62.4070909@mac.com> Date: Mon, 09 Aug 2004 15:15:46 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Mulder References: <20040809083250.GA12445@lycurgue.localnet> <20040809083250.GA12445@lycurgue.localnet> <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> In-Reply-To: <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [68.161.100.95] at Mon, 9 Aug 2004 14:15:47 -0500 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:15:49 -0000 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. Excellent point. I think one is much safer having /tmp as a directory on the root filesystem, and using something like md(4) to mount a RAMdisk over that location when going into multiuser mode (or mount a real /tmp partition if you prefer). > 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. In particular, editors like vi. :-) -- -Chuck