[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Detecting dialup connections
- To: mint@fishpool.com (MiNT mailing list)
- Subject: Re: [MiNT] Detecting dialup connections
- From: Guido Flohr <gufl0000@stud.uni-sb.de>
- Date: Thu, 30 Sep 1999 22:34:04 +0201
- In-reply-to: <Pine.MNT.4.05.9909301357370.764-100000@tos>; from Mario Becroft on Thu, Sep 30, 1999 at 01:58:51PM +1200
- Mail-followup-to: mint@fishpool.com (MiNT mailing list)
- References: <19990929180707.E198@stud> <Pine.MNT.4.05.9909301357370.764-100000@tos>
- Sender: owner-mint@fishpool.com
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