lkml.org 
[lkml]   [2001]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gendisk list access (was: [Evms-devel] Unresolved symbols)
On Wed, Dec 05, 2001 at 10:53:46PM +0100, Christoph Hellwig wrote:
> - each block queue gets a pointer to be used for partitioning, this will
> be opaque to the drivers.

Yuck!

Why do you want a reference to partitions?

IMHO: the whole major/minor thing is butt ugly for partitions.

Of course, I have no intention of implementing this, but I think:

* there should be an IDE major, and a SCSI major, etc.
(or perhaps just a hard disk major? it's rather ugly exposing
the difference, but at times useful)

* so, if the IDE major was 2, then major2/minor0 is the first hard
disk, major2/minor1 the second, etc...

* partition tables get the same interface as LVM. (partition tables
are really like VGs, that only permit one PV)

Actually, it's really already implemented (!). Just use LVM2.
It would be trivial for me to get parted to tell LVM2 to recognize
partition tables. (and also trivial, but slightly more painful,
to port the existing ptables in the kernel)

Also, this is 100% compatible with corry's desire to "let EVMS
handle it".

Andrew

PS sorry for the delay. My server died a few hours before I left for
Brazil...
-
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/

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