Re: [PATCH] register_blkdev

Greg KH (greg@kroah.com)
Sat, 8 Mar 2003 11:29:08 -0800


On Sat, Mar 08, 2003 at 07:34:07AM +0000, Christoph Hellwig wrote:
> On Fri, Mar 07, 2003 at 04:53:33PM -0800, Greg KH wrote:
> > driver asks for a major, today it only thinks it has 256 minors, so that
> > number is usually hard coded in an array. If a open() happens on a
> > minor outside that range, the driver will die a horrible death, right?
>
> Yes. That's why the character device code should get a similar massaging
> as the block layer code got in 2.5. But I don't really see this happen
> in the 2.6 timeframe, especially given that there are a lot more character
> than block drivers.

I agree, I thought this was a 2.7 change, but it's looking like people
want this change sooner :)

greg k-h
-
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/