Subject: Re: major device number assignment
To: Simon Burge <>
From: Quentin Garnier <>
List: tech-kern
Date: 10/14/2005 08:30:43
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 14, 2005 at 04:15:52PM +1000, Simon Burge wrote:
> Quentin Garnier wrote:
> > On Fri, Oct 14, 2005 at 03:33:15PM +1000, Simon Burge wrote:
> >
> > > I'm pretty sure that entries in sys/conf/majors can be overriden by
> > > arch-specific entries, so just add it to the end of the former file
> > > and it should effect any existing archs that use twe.
> >=20
> > They're not overriden;  they just co-exist.  Both major numbers will be
> > valid on archs that already provide a major number for that device.
> That seems ... suboptimal at first glance.  Does the MAKEDEV generator

Well, it does allow smooth transition from one major number to the
other.  Now, config(1) would have to be able to produce the relevant
#ifdef COMPAT_XX.

> pick the first or last major?

My reading of the code is that it picks up the MD one in the end, if it

Quentin Garnier - -
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.6 (NetBSD)