[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Detecting dialup connections
- To: MiNT mailing list <mint@fishpool.com>
- Subject: Re: [MiNT] Detecting dialup connections
- From: Michael Schwingen <rincewind@discworld.dascon.de>
- Date: Fri, 1 Oct 1999 19:14:00 +0200
- In-reply-to: <19990930223403.C160@stud>; from Guido Flohr on Thu, Sep 30, 1999 at 10:34:04PM +0201
- Mail-followup-to: MiNT mailing list <mint@fishpool.com>
- References: <19990929180707.E198@stud> <Pine.MNT.4.05.9909301357370.764-100000@tos> <19990930223403.C160@stud>
- Sender: owner-mint@fishpool.com
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