From owner-freebsd-chat Thu Jan 24 8:22:31 2002 Delivered-To: freebsd-chat@freebsd.org Received: from riker.skynet.be (riker.skynet.be [195.238.3.132]) by hub.freebsd.org (Postfix) with ESMTP id C5C6D37B402 for ; Thu, 24 Jan 2002 08:22:25 -0800 (PST) Received: from [10.0.1.3] (ip-27.shub-internet.org [194.78.144.27] (may be forged)) by riker.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.16) with ESMTP id g0OGMK510260; Thu, 24 Jan 2002 17:22:20 +0100 (MET) (envelope-from ) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20020123223104.SM01952@there> References: <20020123114658.A514@lpt.ens.fr> <20020123124025.A60889@HAL9000.wox.org> <3C4F5BEE.294FDCF5@mindspring.com> <20020123223104.SM01952@there> Date: Thu, 24 Jan 2002 16:35:48 +0100 To: chip From: Brad Knowles Subject: Bad disk partitioning policies (was: "Re: FreeBSD Intaller (was "Re: ... RedHat ...")") Cc: freebsd-chat@freebsd.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 10:31 PM -0800 2002/01/23, chip wrote: > the first > thing I did was give / 100 megs, then give /swap double whatever the ram is, > and the rest goes to /usr. The issue of what is intelligent partitioning has been discussed previously on this list. However, I believe that dumping everything in /usr is a really bad idea. Among other things, you have no way of keeping a runaway program from eating up all available disk space and causing a serious DoS on the system. With a separate /var partition, a runaway program is likely to only be able to fill that up, leaving the rest of the system okay. You'd need to symlink /usr/tmp to /var/tmp, however. > 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? -- Brad Knowles, H4sICIFgXzsCA2RtYS1zaWcAPVHLbsMwDDvXX0H0kkvbfxiwVw8FCmzAzqqj1F4dy7CdBfn7 Kc6wmyGRFEnvvxiWQoCvqI7RSWTcfGXQNqCUAnfIU+AT8OZ/GCNjRVlH0bKpguJkxiITZqes MxwpSucyDJzXxQEUe/ihgXqJXUXwD9ajB6NHonLmNrUSK9nacHQnH097szO74xFXqtlbT3il wMsBz5cnfCR5cEmci0Rj9u/jqBbPeES1I4PeFBXPUIT1XDSOuutFXylzrQvGyboWstCoQZyP dxX4dLx0eauFe1x9puhoi0Ao1omEJo+BZ6XLVNaVpWiKekxN0VK2VMpmAy+Bk7ZV4SO+p1L/ uErNRS/qH2iFU+iNOtbcmVt9N16lfF7tLv9FXNj8AiyNcOi1AQAA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message