Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2002 01:19:04 +0100
From:      Alfatrion <alfatrion@cybertron.tmfweb.nl>
To:        "F.Xavier Noria" <fxn@isoco.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Advice on creating partitions
Message-ID:  <3C364678.5090900@cybertron.tmfweb.nl>
References:  <20020105004433.2a0f19ca.fxn@isoco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
F.Xavier Noria wrote:

> I've got a new computer with RAM 256 DDR and 21GB of its hard disk
> reserved for FreeBSD.
> 
> I have no clue about what partitions should I create and what size
> should they have since in previous installations I just followed the
> 3xRAM rule for swap and the rest was under /.

The rule is 2xRAM, but you have so much mem, that you don't need a swap 
space. That is, unleas you are doing someting heavy on that machine.


> 
> This is going to be an average desktop computer, for playing around,
> programming and so forth. After reading the relevant parts of the
> Handbook and "The Complete FreeBSD", I've come with this temptative
> settings:
> 
>     /     200MB
>     swap  800MB
>     /var  300MB  + SoftUpdates
>     /usr  <rest> + SoftUpdates
> 

If you have users on the system, then you may want to protect the / from 
them, and so create a /home partion. Gives the added benefit of having 
SoftUpdates on that.

You have so much mem that, unleas you have processes that requere much 
mem, you don't realy need the swap space. If you still wan't swap and 
have multiple drives then you may wanna place a portion on all drives 
instead of one, for the access speed.

Having /usr/local protect you from cluttering up your /usr by installing 
to much.


> and /tmp would be symlinked to /usr/tmp to make sure I do not run out of
> space there (is that reason reasonable in fact?). I don't need to be
> conservative because I have a lot of room, would you think those are
> suitable partitions?

I can't tell you much about /tmp -> /usr/tmp, but it can slow the moving 
of files (if this is done). Say a program creates a tempory file in /tmp 
and them moves it to /. Then it haves to copy it bit by bit instead of 
rewriting the location. But i gess this will not happen that much.

I have never used more than 50MB on / (i do have a /home dir).

Alex


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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