Re: gendisk list access (was: [Evms-devel] Unresolved symbols)

From: Andrew Clausen (clausen@gnu.org)
Date: Tue Dec 11 2001 - 07:36:18 EST


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/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:20 EST