Date: Mon, 09 Aug 2004 15:15:46 -0400 From: Chuck Swiger <cswiger@mac.com> To: Gary Mulder <gmulder@infotechfl.com> Cc: questions@freebsd.org Subject: Re: A question about /tmp Message-ID: <4117CD62.4070909@mac.com> In-Reply-To: <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com> References: <20040809083250.GA12445@lycurgue.localnet> <20040809083250.GA12445@lycurgue.localnet> <4.2.0.58.20040809145427.01092be8@mail.infotechfl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4117CD62.4070909>