lkml.org 
[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs: dynamic block device MAJOR's
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.106 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site