Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 07:28:48 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        leisner@sdsp.mc.xerox.com (Marty Leisner)
Cc:        questions@freebsd.org
Subject:   Re: How should I partition my disk?
Message-ID:  <19970910072848.AT26122@uriah.heep.sax.de>
In-Reply-To: <9709100241.AA22984@gnu.sdsp.mc.xerox.com>; from Marty Leisner on Sep 9, 1997 19:41:02 -0800
References:  <19970910115801.03392@lemis.com> <9709100241.AA22984@gnu.sdsp.mc.xerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Marty Leisner wrote:

> >From prior experience, I installed freebsd at the top of
> my disk with no problem (I'm using system commander).
> 
> I ended up:
> / - 50
> /usr - 250
> 25 Mbyte swap (I have 48 Mbyte ram, and I want run an X server)
> 
> /usr/src - 300 Mbyte
> /usr/local - the rest

Why didn't you try `A' in the label editor?

I'm usually using 150 MB swap for 32 MB RAM.  The rule of thumb is 2 *
RAM, but that's often too few for an X11 workstation.  This even
though FreeBSD doesn't do `eager swapping'.

Of course, if you really only want the X server (i.e., running in
Xterminal mode), you don't need much swap.  As soon as you're also
running X clients, they often need their VM.  Netcrap being worst, it
eats something like 12 ... 16 MB immediately after starting, and has
been observed to grew up to 30 ... 50 MB virtual size easily.

Subpartitioning /usr beyond a potential /home or /usr/home partition
doesn't make much sense IMHO.  The only exception for this would be if
you plan to mount parts of /usr `async'.  The most useful target for
asynchronous metadata updates would be /usr/obj, but only if you're
planning to have lots of build cycles running on that machine.  There
might be further reasons like making it easier to dump(8) some parts
of /usr more frequently than others, but on the minus side, there's
always a danger that some partition has plenty of space remaining, and
you need just this space in another part of /usr hardly right now.

My /usr/obj is currently 120 MB.

You should really have a separate /var, and use only a small /
instead.  This leaves your / filesystem untouched mostly (if you make
/tmp a symlink to /var/tmp, almost completely).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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