Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 1995 15:21:02 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@freebsd.org
Subject:   Re: /etc/rc and "rm -f /var/spool/lock/*"
Message-ID:  <199507061321.PAA10254@uriah.heep.sax.de>
In-Reply-To: <199507051257.OAA01902@vector.eikon.e-technik.tu-muenchen.de> from "Julian Stacey" at Jul 5, 95 02:57:31 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Julian Stacey wrote:
> 
> 
> > From: J Wunsch <j@uriah.heep.sax.de>
> > Lock files suck.  They should not be used at all, and the only client
> > that really needs them right now is mgetty.
> 
> My /var/spool/fax/etc/config.ttyd1 (for hylafax) has:
> 	UUCPLockDir     /var/spool/lock # jhs added this after seeing where kermit created a lock.
> I haven't got round to checking if I need it.

If it's outgoing-only, it isn't needed.  If it's also able to receive
incoming fax messages, i guess you're going to use mgetty anyway.
mgetty needs the lock files, since it cannot use the dialin port (it
has to watch modem messages even while the modem is in the `not
connected' state).

The only way around would be to unblock the open() on a dialin port
already on the `ring indicator' line instead of the `data carrier
detect', as Terry once proposed.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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