From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 08:50:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9F2716A422 for ; Mon, 17 Oct 2005 08:50:27 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD57143D49 for ; Mon, 17 Oct 2005 08:50:26 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j9H8oNaI001909; Mon, 17 Oct 2005 11:50:23 +0300 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j9H8mvWd000827; Mon, 17 Oct 2005 11:49:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j9H3jDrQ075912; Mon, 17 Oct 2005 06:45:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Oct 2005 06:45:12 +0300 From: Giorgos Keramidas To: John Oxley Message-ID: <20051017034512.GA58981@flame.pc> References: <20051016125050.GA30303@yoafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051016125050.GA30303@yoafrica.com> Cc: Teo De Las Heras , freebsd-questions@freebsd.org Subject: Re: Recommended partitioning 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: Mon, 17 Oct 2005 08:50:27 -0000 On 2005-10-16 14:50, John Oxley wrote: > On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote: > > Part Size > > / 10G - for both the / and /usr files > > (swap) 2G > > /var 10G - Web server, print spool, other log files?? > > /var/mail 10G - for all mail files and easy backup > > /home 50G - for all user files > > /home/teo 40G - For my files and easy backup > > *The rest of the space I'll leave unused in case I need to grow a partition > > I'm new to FreeBSD/*Nix so all criticism is welcome. > > Keep / small, around 200MB, and split user from this. You'll understand > why as soon as something nasty happens while you're writing to /usr and > the machine falls over. You can still boot because / is mainly static. > > put 10-20 gigs in usr. When you build ports, they use space in /usr (by > default. You can change this) which is why I say 20 gigs. > > 256M in /tmp is fine A very good suggestion, if you can spare a bit of memory (or swap) is to use a memory-backed fs for /tmp (see the ``tmpmfs*'' options in rc.conf manual page): % man.rc.conf Even a swap-backed /tmp may be a good idea, if you don't really want to allocate a large root partition, just for the sake of /tmp files.