Date: Tue, 2 Jul 1996 11:39:22 -0500 (CDT) From: Joe Greco <jgreco@brasil.moneng.mei.com> To: jmb@freefall.freebsd.org (Jonathan M. Bresler) Cc: jgreco@brasil.moneng.mei.com, root@friday.keanesea.com, hackers@freebsd.orgroot@friday.keanesea.com, hackers@freebsd.org Subject: Re: What is the best way to setup a drive Message-ID: <199607021639.LAA17375@brasil.moneng.mei.com> In-Reply-To: <199607021605.JAA18519@freefall.freebsd.org> from "Jonathan M. Bresler" at Jul 2, 96 09:05:07 am
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607021639.LAA17375>