Subject: Re: CFR: The Auto-Generation Block/Character Device Switch Tables
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 05/14/2002 09:03:42
On Tue, 14 May 2002, Darren Reed wrote:

> In some email I received from Bill Studenmund, sie wrote:
> [...]
> > If it's about MAKEDEV, please do if you can. That'd be cool as it would
> > further reduce the number of places we have to keep major numbers (and the
> > number of places we can get them out of sync).
>
> I wonder, if you could setup /dev in /emul for things like Solaris, SunOS4,
> Linux, etc, would you be able to break free from having major/minor numbers
> based around being "backward compatible" and go for a single, unified,
> major number listing for all ports ?

Maybe. Doing something like that would let us pick our own major numbers
whereever we wanted. We would have to make sure our major numbers avoided
all of the vendor ones we emulated, since we can't tell where the device
node was that was opened.

Take care,

Bill