From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 04:05:47 2004 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 6485516A4E8; Wed, 15 Dec 2004 04:05:47 +0000 (GMT) Received: from safeco.hostingservice.net (safeco.hostingservice.net [209.150.128.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0075743D41; Wed, 15 Dec 2004 04:05:47 +0000 (GMT) (envelope-from adam@jamradar.com) Received: from PANASONIULSWMR (c-67-176-199-73.client.comcast.net [67.176.199.73])iBF45kA30783; Tue, 14 Dec 2004 22:05:46 -0600 Message-ID: <004c01c4e25b$59bd5c60$0200a8c0@PANASONIULSWMR> From: "Adam" To: "Greg 'groggy' Lehey" References: <001d01c4e259$452536d0$0200a8c0@PANASONIULSWMR> <20041215035627.GD862@wantadilla.lemis.com> Date: Tue, 14 Dec 2004 22:05:20 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: freebsd-questions@FreeBSD.org Subject: Re: Use /var for storing webpages.. Why??? 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: Wed, 15 Dec 2004 04:05:47 -0000 On Tuesday, 14 December 2004 at 21:50:45 -0600, Adam wrote: >> In Greg Lehey's book "The Complete FreeBSD" 4th edition, he says, >> "Do not have a separate /var file system unless you have a good idea >> how big it should be. A good example might be a web server, where >> (contrary to FreeBSD's recommendations) it's a good idea to put the >> webpages on the /var file system." p.70 >> >> Why is it a good idea to put webpages in the /var file system and >> not the /usr file system? > >Because they're not part of the system. Despite the name, /usr is >mainly for the operating system. /var is for content that frequently >varies. > >Greg >-- >When replying to this message, please copy the original recipients. >If you don't, I may ignore the reply or reply to the original recipients. >For more information, see http://www.lemis.com/questions.html >See complete headers for address and phone numbers. Okay, I understand not using /usr, but why not use /home? Does storing webpages in /var give you a performance increase? Or is it convention that you would store webpages in /var? I'm setting up a webserver at my house where I'll serve several websites for my friends, should I have them store webpages in /var/username or keep them in /home/username? BTW, awesome book. I love reading about the old RLL and MFM hard drives I used to config when I was a kid. Brings back a lot of memories. Thanks Adam