Re: Minor numbers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 May 2001 15:57:21 +0100 (BST)


> > 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/