Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2002 16:35:48 +0100
From:      Brad Knowles <brad.knowles@skynet.be>
To:        chip <chip@wiegand.org>
Cc:        freebsd-chat@freebsd.org
Subject:   Bad disk partitioning policies (was: "Re: FreeBSD Intaller (was "Re: ... RedHat ...")")
Message-ID:  <p0510122eb875d9456cf4@[10.0.1.3]>
In-Reply-To: <20020123223104.SM01952@there>
References:  <20020123114658.A514@lpt.ens.fr> <20020123124025.A60889@HAL9000.wox.org> <3C4F5BEE.294FDCF5@mindspring.com> <20020123223104.SM01952@there>

next in thread | previous in thread | raw e-mail | index | archive | help
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, <brad.knowles@skynet.be>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0510122eb875d9456cf4>