[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Detecting dialup connections



Hi,

On Thu, Sep 30, 1999 at 01:58:51PM +1200, Mario Becroft wrote:
> On Wed, 29 Sep 1999, Guido Flohr wrote:
> 
> > Maybe the kernel could automatically symlink /dev/ttyS[?] to the physical
> > devices in a standardized manner.  Currently, with a little black magic in
> > mint.cnf it is even possible to associate "/dev/modem" with your keyboard.
> 
> I don't suppose it matters much, but I imagine that with several symbolic
> links to each serial device problems could arise with UUCP locking whereby
> one symlink is locked but other programs are still able to access the port
> via a different name.

Good point but if you use flock() that shouldn't happen. flock() locks the
inode not the file descriptor.

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000/
mailto:gufl0000@stud.uni-sb.de