From owner-freebsd-hackers Tue Jul 2 09:41:13 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA21118 for hackers-outgoing; Tue, 2 Jul 1996 09:41:13 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA21110 for ; Tue, 2 Jul 1996 09:41:09 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id LAA17375; Tue, 2 Jul 1996 11:39:22 -0500 From: Joe Greco Message-Id: <199607021639.LAA17375@brasil.moneng.mei.com> Subject: Re: What is the best way to setup a drive To: jmb@freefall.freebsd.org (Jonathan M. Bresler) Date: Tue, 2 Jul 1996 11:39:22 -0500 (CDT) Cc: jgreco@brasil.moneng.mei.com, root@friday.keanesea.com, hackers@freebsd.orgroot@friday.keanesea.com, hackers@freebsd.org In-Reply-To: <199607021605.JAA18519@freefall.freebsd.org> from "Jonathan M. Bresler" at Jul 2, 96 09:05:07 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Joe Greco wrote: > > > > I usually partition disks in the following way. > > > > 40M / > > 60M swap (unless you expect to run a lot of progs, then 160 or 260M) > > 80M /usr > > 100M /usr/local (unless you expect to have a lot of progs, then 200M or 300M) > > 120M /var (more if you plan to have a LOT of mail in mailboxes) > > 140M /var/spool (if you plan on doing lots of mail or UUCP _ONLY_ otherwise > > don't bother with this partition) > > > > Split the rest between /usr/src and /home, as needed... > > > > This has the advantage of being quick, easy, and generally chops up a 540M > > root disk pretty well. > > > > Disadvantages: you'll probably have to put X11 someplace else (I usually > > choose /usr/local and make a symlink), and there isn't enough space for > > /usr/obj if you are doing a world build. > > add a separate partition for /tmp and you *might be* well on your way > to being able to mount / read-only. Actually my ideal goal would be to shoot for "unmodified".. (read-only is a subset of that larger goal, in my mind). I would like "/" and "/usr" to be identical on all my machines. Adding a mfs /tmp is not hard and that leaves the kernel and /etc as the two outstanding issues. It becomes so much easier to secure a system then ;-) In any case, I have seen so many people do "silly" things with their disk layouts. People either do not understand the _reasons_ for going with multiple partitions, or they size them poorly... the big local ISP in these parts had a 1GB / filesystem at one time, in addition to the standard /var, /usr, etc.. I've yet to see an automated tool that sized things according to any reasonable rules that I could find out. The Sun tool works halfway well, but that's about it. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968