From owner-freebsd-chat Thu Jan 24 11:12:58 2002 Delivered-To: freebsd-chat@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 4273837B41B for ; Thu, 24 Jan 2002 11:12:56 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id E720BBD97; Thu, 24 Jan 2002 11:12:55 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA04554; Thu, 24 Jan 2002 11:12:55 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g0OJFb302379; Thu, 24 Jan 2002 11:15:37 -0800 (PST) (envelope-from swear@blarg.net) To: Brad Knowles Cc: freebsd-chat@FreeBSD.ORG Subject: Re: Bad disk partitioning policies (was: "Re: FreeBSD Intaller (was "Re: ... RedHat ...")") References: <20020123114658.A514@lpt.ens.fr> <20020123124025.A60889@HAL9000.wox.org> <3C4F5BEE.294FDCF5@mindspring.com> <20020123223104.SM01952@there> From: swear@blarg.net (Gary W. Swearingen) Date: 24 Jan 2002 11:15:37 -0800 In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brad Knowles writes: > > When all's said and done, I symlink /tmp to > > /usr/tmp and /var to /usr/var. > > This has also been discussed previously. However, I believe > that there is much more agreement that symlinking /tmp to anywhere not > on the root filesystem is a really, really bad idea -- what happens > during boot if the system need to write something to /tmp, but /tmp is a > symlink to a filesystem that hasn't been mounted yet? Many (but not all) such problems can be handled by having /tmp symlink to a directory that exists whether or not a parent of that directory is mounted. Eg, /tmp -> /var/tmp and you make a /var/tmp directory when /var is unmounted. If anything shows up in the unmounted /var/tmp (which you could have a script check for just before next "mount -a"), you've discovered a bug, IMO. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message