From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 18:34:06 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 E612C16A4CE for ; Tue, 5 Oct 2004 18:34:06 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB28043D39 for ; Tue, 5 Oct 2004 18:34:06 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id C374569A40; Tue, 5 Oct 2004 14:34:05 -0400 (EDT) Date: Tue, 5 Oct 2004 14:34:04 -0400 From: Bill Moran To: LB Message-Id: <20041005143404.7b78871c.wmoran@potentialtech.com> In-Reply-To: <6.1.2.0.2.20041005202414.0284e6b0@pop.xs4all.nl> References: <6.1.2.0.2.20041005202414.0284e6b0@pop.xs4all.nl> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Why is data linked to data-dist 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: Tue, 05 Oct 2004 18:34:07 -0000 LB wrote: > Greetings, > > I have a general question that I hope someone can help me with. I was > wondering why the powers that be have chosen to link /usr/local/www/data > to /usr/local/www/data-dist instead of just creating > /usr/local/www/data-dist directly. Can anybody help me with the idea behind > this ? This reduces the possibility of people losing their data during an upgrade. If you portupgrade (or use any other system) to upgrade to a newer version of Apache, data-dist will be overwritten with the new documentation that comes with the new version of Apache. data will not be touched. As a result, if you left data as a symlink to data-dist, it still works and shows you the most updated documentation. However, if relink data to a different directory, or replace the symlink with a real directory with your site in it, the upgrade doesn't obliterate your data. -- Bill Moran Potential Technologies http://www.potentialtech.com