From owner-freebsd-questions@FreeBSD.ORG Mon Feb 15 16:34:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583F9106566B for ; Mon, 15 Feb 2010 16:34:15 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 32C858FC12 for ; Mon, 15 Feb 2010 16:34:14 +0000 (UTC) Received: (qmail 27570 invoked from network); 15 Feb 2010 16:34:14 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Feb 2010 16:34:14 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 37D1650832; Mon, 15 Feb 2010 11:34:13 -0500 (EST) From: Lowell Gilbert To: John Almberg References: <972F1E78-A410-4398-8428-38331578C66C@identry.com> Date: Mon, 15 Feb 2010 11:34:13 -0500 In-Reply-To: <972F1E78-A410-4398-8428-38331578C66C@identry.com> (John Almberg's message of "Mon, 15 Feb 2010 09:46:09 -0500") Message-ID: <44k4uecvay.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Why does soft link in /var/log disappear? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 16:34:15 -0000 John Almberg writes: > I didn't make my /var partition big enough, way back when, and have had to move my /var/log/www directory to another partition. I did this by moving the directory, and then adding a soft link from /var/log to the moved directory, using something like: > > ln -s /home/wwwlog /var/log/www > > This works great, but something is deleting the soft link. > > Is there anything in the freebsd base that 'cleans up' the /var/log directory? Any hints on how I can discover what is doing this clean up, or a way to protect this link from being deleted? When does it happen? Without knowing that, we're pretty much into wild-guess territory. That said, my wild guess is that it happens at installworld time and there's something strange in your mtree file for var. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/