Re: Minor numbers

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon May 14 2001 - 09:57:21 EST


> > 20:12 is more common
>
> Which is major, which is minor?

20bit major

> I have one (private) driver that requires around 5000 minors.
> (currently through some 20 majors) (Currently only just over half of
> these are physically installed....)

Just use several. The split is a bit vague in modern OS's - because its
really now heirarchical in many of them - eg the solaris controller, bus,
unit, lun, .. thing.

I guess it went the way of classed addressing

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



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:35 EST