Re: Minor numbers

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Mon May 14 2001 - 08:02:08 EST


Alan Cox wrote:
> > 255. Has this limitation been some how addressed with 2.4? 256 devices
> > per module, sometimes is not enough, especially if you are in the SAN
> > environment; or when the 256 minors numbers are broken down to several
>
> 2.4 is using 16bit dev_t in kernel still. Application space sees a much
> larger dev_t so we can make the move in 2.5 very easily
>
> > work-around or is proposing a solution? I believe that minor and major
> > numbers for SUN and AIX are both 16 bits each (32 bits dev_t).
>
> 20:12 is more common

Which is major, which is minor?

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....)

                        Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 
-
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