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/