Re: [ILUG] Various

From: Andy Ferguson (ilug at domain moil.demon.co.uk)
Date: Sat 25 Sep 1999 - 13:00:39 IST


On Fri, 24 Sep 1999, Mark Page wrote:

> Would someone else on the list just give me, as a beginner, the answer as to
> how I unlock /dev/modem. It surely isn't a difficult question, or is it?

There should be a file

        /var/locks/LCK..modem

and provided nothing is using your modem, just remove it. To be sure
its not in use, the contents of the file give the PID of the program
that created the lock. A list of running jobs with PIDs can be got
with

        ps ax
                
On older distributions the file may be in a different location

Andy Ferguson
~~~~~~~~~~~~~
Sysop MOIL BBS +44-1247-273357



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:36 GMT