Re: [PATCH] register_blkdev

Christoph Hellwig (hch@infradead.org)
Fri, 7 Mar 2003 23:36:36 +0000


On Fri, Mar 07, 2003 at 03:38:18PM -0800, John Cherry wrote:
> Sure. You could grab unassigned majors...if that is what you want to
> do. There are a number of ways to "get around" the lack of minor
> numbers. None of them follow conventional thinking with regards to
> major/minor usage.

If you actually looked at the block layer code instead of just talking
along you'd see that the major/minor split has absolutely zero meaning
for the actual driver interface in 2.5. The only major numbers have
any meanting to is pretty printing (/proc/devices and __bdevname).

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