Subject: Re: how to deal with lock dirs etc.?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/10/2005 09:45:31
On Sun, 9 Oct 2005, Georg Schwarz wrote:
> Trying to compile comms/minicom on Darwin I realized it does not seem to
> have any of the traditional lock dirs, it failed in the configure stage.
> I added
> CONFIGURE_ARGS+= --enable-lock-dir=${VARBASE}/spool/lock
> to the Makefile and created the respective directory to make it work.
> What is the general "policy" towards lock dirs? There is no variable for
> it, is there?
I don't think we have a policy. Some systems use /var/lock and some use
/var/spool/lock.
It seems like we should have some LOCKDIR setting.
Anyways your ${VARBASE}/spool/lock looks fine to me.
Jeremy C. Reed
open source, Unix, *BSD, Linux training
http://www.pugetsoundtechnology.com/