Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site basservax.SUN Path: utzoo!linus!decvax!mulga!munnari!basservax!chris From: chris@basservax.SUN Newsgroups: net.unix-wizards Subject: Re: un-dedicating a line to a dialer Message-ID: <209@basservax.SUN> Date: Thu, 5-Jan-84 13:27:10 EST Article-I.D.: basserva.209 Posted: Thu Jan 5 13:27:10 1984 Date-Received: Fri, 6-Jan-84 02:20:37 EST References: <15002@sri-arpa.UUCP> Organization: Dept of C.S., University of Sydney Lines: 6 The solution is to have the dialler program open the dial line with O_EXCL, which will return an error if a getty or login still has the line open. If you have signalled init, it is about to hangup the line anyway, so uucico just needs to wait until its exclusive open returns.