Re: Device Naming, was: Re: devfs - why not ?

From: Bradley D. LaRonde (brad@ltc.com)
Date: Fri Apr 14 2000 - 10:05:24 EST


----- Original Message -----
From: Johannes Erdfelt <jerdfelt@sventech.com>
To: David Elliott <dfe@infinite-internet.net>
Cc: <linux-kernel@vger.rutgers.edu>
Sent: Thursday, April 13, 2000 10:06 PM
Subject: Re: Device Naming, was: Re: devfs - why not ?

> On Thu, Apr 13, 2000, David Elliott <dfe@infinite-internet.net> wrote:
> > Johannes Erdfelt wrote:
> >
> > > When I use /dev/mouse0, I always want it to be the same mouse, not the
> > > mouse which happened to be enumerated first by the USB bus.
> > >
> > > I also want to know which mouse is which. As it is right now, the
order
> > > you plug things into the USB bus is they way they get named.
> > >
> > > I can never know what physical mouse /dev/mouse0 is connected to.
> >
> > My point is that you shouldn't. Assume we don't have a devfs at all and
> > /dev/mouse0 consistently maps to some MAJ/MIN combo. The kernel will
therefore
> > assign mice as it finds them, which can even change from version to
version of the
> > kernel as far as I am concerned.
>
> I don't care what the names are. What I do want is a name which always
> is the same mouse, period.

How can you if there is nothing that uniquely identifies the mouse itself?

Regards,
Brad

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:24 EST