From owner-freebsd-questions@FreeBSD.ORG Thu Dec 20 18:56:53 2007 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2634216A41B for ; Thu, 20 Dec 2007 18:56:53 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id A666F13C45B for ; Thu, 20 Dec 2007 18:56:52 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) X-Bogosity: No, tests=bogofilter X-DKIM: Sendmail DKIM Filter v2.3.2 anthesphoria.net lBKIufO2069858 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=anthesphoria.net; s=phero; t=1198177011; bh=xRTPYkYK6Pqt9geBTFuAcysza36VS0j73utuFpiU4 dA=; l=2315; h=X-Bogosity:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:X-Face:X-Operating-System: Mime-Version:Content-Type:Content-Transfer-Encoding; b=ut5pztDt7ZQ +qu+Dx+AngLswQY6f1JKKij0+auDMLQuHAdqcHkS5IOUWdKziLlYc5Ki2td2krQPdAz VylRDdK9v8bkGMzp2pM5dBt22IslC42p5ITnzaDdXfVjSUZQOwvHq1+Aak3TmlVLOgw nSJoMvJSSW0aM38pSihet+l1eA= Received: from anthesphoria.net (adsl-217-143.eunet.yu [213.198.217.143]) (authenticated bits=0) by anthesphoria.net (8.14.1/8.14.1) with ESMTP id lBKIufO2069858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Dec 2007 19:56:46 +0100 (CET) (envelope-from nikola.lecic@anthesphoria.net) Date: Thu, 20 Dec 2007 19:56:36 +0100 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: "Alexander Rudyk (Akvelon)" 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> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; i386-portbld-freebsd6.2) X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] X-Operating-System: FreeBSD 6.2-RELEASE-p8 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 18:56:53 -0000 On Wed, 19 Dec 2007 17:17:50 -0800 "Alexander Rudyk (Akvelon)" 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