From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 19:13:26 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 97AA916A4CE for ; Tue, 5 Oct 2004 19:13:26 +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 5EC8A43D31 for ; Tue, 5 Oct 2004 19:13:26 +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 9CECB69A40; Tue, 5 Oct 2004 15:13:25 -0400 (EDT) Date: Tue, 5 Oct 2004 15:13:24 -0400 From: Bill Moran To: l0rd@xs4all.nl Message-Id: <20041005151324.2f0b1d0f.wmoran@potentialtech.com> In-Reply-To: <24192.82.217.116.43.1097002525.squirrel@webmail.xs4all.nl> References: <24192.82.217.116.43.1097002525.squirrel@webmail.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 19:13:26 -0000 l0rd@xs4all.nl wrote: > At 20:47 5-10-2004, you wrote: > > 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 ? > > Sorry about the double post. I resent wrong email. My bad.... > > But what I was supposed to post: > > Sounds like a good idea. So deleting the symlink and creating a real data > directory would mean I have to physically copy any new version of web apps > installed by ports if they're upgraded by portupgrade ? Not if they're well done ports. Most web apps, when installed from the ports, do not install in that data directory. Instead, they are installed in /usr/local/www/, and the necessary configurations are put in place to make them accessible. (usually Apache-based symlinks ... I forget what the directive in Apache is called). Anyway, this protects the data you generate in the same way. -- Bill Moran Potential Technologies http://www.potentialtech.com