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

Re: [MiNT] Detecting dialup connections



On Thu, Sep 30, 1999 at 10:34:04PM +0201, Guido Flohr wrote:

> > 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.

The inode of the symlink or the inode the symlink points to?

Regardless of that, I guess there is enough software that used UUCP-style
lock files to make sure that these will still work.

cu
Michael
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen