Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 11:34:13 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        John Almberg <jalmberg@identry.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why does soft link in /var/log disappear?
Message-ID:  <44k4uecvay.fsf@be-well.ilk.org>
In-Reply-To: <972F1E78-A410-4398-8428-38331578C66C@identry.com> (John Almberg's message of "Mon, 15 Feb 2010 09:46:09 -0500")
References:  <972F1E78-A410-4398-8428-38331578C66C@identry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Almberg <jalmberg@identry.com> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44k4uecvay.fsf>