Re: devfs: dynamic block device MAJOR's

Richard Gooch (rgooch@atnf.csiro.au)
Wed, 5 May 1999 21:28:11 +1000


Manfred Spraul writes:
> I've just downloaded the devfs patch, and I noticed one problem:
> your patch supports dynamic block device MAJOR/MINOR's, but
> it seems that the block device layer itself does not support
> major's shared by multiple devices:

Correct.

> The problem is that the block device layer uses two dimensional arrays
> for getting sector size, volume len etc. (MAJOR allocated by the system,
> MINOR allocated by the indivitual driver), and that there are several
> 'switch'-statements with the MAJOR as parameter.

Yes, it is a bit ugly, isn't it? Perhaps that was one of the things
Ken was talking about ;->

> Do you know if there ere any plans to modify the block device layer
> to support dynamic MAJOR's?

No idea, but let me know.

Regards,

Richard....

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