From owner-freebsd-questions@FreeBSD.ORG Thu May 5 15:35:01 2005 Return-Path: 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 97E3E16A4CE for ; Thu, 5 May 2005 15:35:01 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F5A43D9B for ; Thu, 5 May 2005 15:35:01 +0000 (GMT) (envelope-from d@donnacha.com) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 4F9FBC89D7A for ; Thu, 5 May 2005 11:35:00 -0400 (EDT) X-Sasl-enc: Lp1K6w8iA7w2HHScgTJBhbWxyN/6DWoewBSPWW5C0Oh7 1115307299 Received: from [127.0.0.1] (82-41-213-217.cable.ubr12.edin.blueyonder.co.uk [82.41.213.217]) by frontend2.messagingengine.com (Postfix) with ESMTP id 476DA570393; Thu, 5 May 2005 11:34:59 -0400 (EDT) Message-ID: <427A3D50.5010906@donnacha.com> Date: Thu, 05 May 2005 16:35:44 +0100 From: freebsd.org@donnacha.com User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200505051256.j45Cu2rM009492@clunix.cl.msu.edu> <427A1ED5.9050507@donnacha.com> <200505051552.41644.list-freebsd-2004@morbius.sent.com> In-Reply-To: <200505051552.41644.list-freebsd-2004@morbius.sent.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: RW Subject: Re: How should I divvy up my HDDs? Suggestions Please. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 15:35:01 -0000 Thanks RW. >> How big should /tmp be? > > The precise size depends on your needs, people use values from a few hundred > MB to a few GB, however generally applictions that need a lot of temporary > storage will let you specify where it goes. So, do you think 1GB for /tmp will be enough? > / is probably the worst partition to put /tmp in. In FreeBSD the root > partition is small and contains the critical files needed to get the system > up into single user mode, so you can perform repairs. You want to reduce to > risk of damaging it, and it's used without soft-updates or background > checking, so it's not very efficient for writing anyway. Well, I'm going to give /tmp it's own partition on the other HDD, well away from /. > Possibly, he sees it as the kind of thing that should go in /var due to > frequent changes. /var holds things that generate heavy file fragmentation, > such as spool files, logs etc. So, is he trying to protect the programs that individual users install in their /home directories? Donnacha RW wrote: > On Thursday 05 May 2005 14:25, freebsd.org@donnacha.com wrote: > >>Jerry, thanks for your advice! >> >> > If all your accounts and web pages >> > are really in /home and you have no databases, I would be inclined >> > to put both /usr and /var in the 80GB drive and leave the other one >> > for home directories and web pages. >> >>In The Complete FreeBSD, Greg Lehey suggests that it's a good idea to >>place web pages in /var, I don't quite grasp why. Do you think it would >>be a better idea to stick with the standard and leave web pages in /home? > > > Possibly, he sees it as the kind of thing that should go in /var due to > frequent changes. /var holds things that generate heavy file fragmentation, > such as spool files, logs etc. > > > >>What about /tmp? Looking through this list's archives, I read that it's >>considered more secure to place /tmp on a seperate partition from /, >>would it be even more secure to place it on a seperate HDD? How big >>should /tmp be? > > > The precise size depends on your needs, people use values from a few hundred > MB to a few GB, however generally applictions that need a lot of temporary > storage will let you specify where it goes. > > / is probably the worst partition to put /tmp in. In FreeBSD the root > partition is small and contains the critical files needed to get the system > up into single user mode, so you can perform repairs. You want to reduce to > risk of damaging it, and it's used without soft-updates or background > checking, so it's not very efficient for writing anyway. > > /usr doesn't need to be all that big, a lot of people symlink out /usr/ports > and /usr/src and have just 4GB - even on a desktop. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"