Hi,
        I originally asked a question along these lines:
                Sometimes I've had to kill lpd because the printer has
                fouled up and lpd/lpr seems unresponsive.  On
                restarting sometimes, lpr and then lpq gives the
                message 'waiting for lock on /dev/ttyxx'.  How do I get
                rid of this bogus lock?
The answer in summary, is that is not a file based lock at all,
but a fcntl/flock/lockf sort of thing.  (I checked this using
trace(1) but not forget which of the three it was. flock I think)
Killing lpd and restarting does not get rid of the lock.
The only way to get rid of it seems to be to reboot. :-)
Thanks for your replies,
        -Matt Hannigan
PS. I'm using SunOS 4.1.3
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:22 CDT