Date: Tue, 5 Oct 2004 14:34:04 -0400 From: Bill Moran <wmoran@potentialtech.com> To: LB <l0rd@xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Why is data linked to data-dist 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>
next in thread | previous in thread | raw e-mail | index | archive | help
LB <l0rd@xs4all.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041005143404.7b78871c.wmoran>