Date: Tue, 4 Jul 1995 14:10:13 +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: <199507041210.OAA00739@uriah.heep.sax.de> In-Reply-To: <199507031550.KAA02622@id.slip.bcm.tmc.edu> from "Rich Murphey" at Jul 3, 95 10:50:40 am
next in thread | previous in thread | raw e-mail | index | archive | help
As Rich Murphey wrote: > > |Lock files suck. They should not be used at all, and the only client > |that really needs them right now is mgetty. > > What if you wanted to run outgoing hylafax and outgoing > 'ppp -auto' on the same port. Open the callout device with O_EXCL. The lock files are only for those programs that need to open callout devices where they should use callin devices. mgetty (or vgetty) are examples of programs that need to do it, since they wish to watch modem messages before the carrier is established. Regular getty uses the dialin device, where the open() blocks until the carrier is detected. -- 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?199507041210.OAA00739>