Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 19:56:36 +0100
From:      Nikola =?UTF-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
To:        "Alexander Rudyk (Akvelon)" <v-alrudy@microsoft.com>
Cc:        FreeBSD-questions@FreeBSD.org
Subject:   Re: Partitions size for 80GB HDD and 2GB RAM
Message-ID:  <20071220195636.116ac9bb@anthesphoria.net>
In-Reply-To: <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com>
References:  <3659EBC278926E47B1802BE0129D1B6007D8AD3AC8@NA-EXMSG-C123.redmond.corp.microsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Dec 2007 17:17:50 -0800
"Alexander Rudyk (Akvelon)" <v-alrudy@microsoft.com> wrote:
=20
> Hi all
>=20
> I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD
> and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will
> be used to web development (RubyOnRails), entertaiment (photo, music,
> video), web browsing and emailing, so no server side task will be
> handled.
>=20
> How you suggest to split 80GB between partitions to solve all laptop
> tasks. Here is partitions:
> /root
> /var
> /usr
> /home
> /swap

Hi Alexander,

You can find the recommendations regarding partition sizes in
"Allocating Disk Space" chapter of the FreeBSD Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/):

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.h=
tml

This means that your partition layout should be like this:

/       512M
swap   4096M (2x RAM)
/tmp    512M
/var   1024M
/usr    rest

/var's size depends, among other things, on how many logs you want to
keep there (where they live by default); since your machine will not be
a server, 512M should be ok. Please note that /var/db/, the default
place for info about ports installed, occupies roughly 200M or more.

/usr depends on how many applications you need to run. Please note
that /usr is also the default place where applications will be compiled
(inside /usr/ports) and where a lot of distfiles (sources) or
(precompiled) packages will be stored, so huge upgrades can take a lot
of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or
several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G,
depending on cleaning policy you choose.] Therefore, since you have 80G,
it's not a bad idea to use /usr for /home as well (i.e. to have /usr
only; home will be /usr/home, symlinked from /home). Otherwise, you can
easily encounter too much (wasted) or too little free space on /usr.

I've recently configured a laptop with the aforementioned partition
sizes (with smaller swap).

(Besides this, don't forget to read about the difference between
"dedicated" and "sliced" disks in the Handbook.)

Regards,
--=20
Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5=
=D1=87=D0=B8=D1=9B



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