Re: partitions

Andries Brouwer
2002-07-24T19:29:14Z

On Wed, Jul 24, 2002 at 03:02:50PM -0400, Alexander Viro wrote:

> Basically, gendisks are crap. Why on the earth they were created as
> per-major objects instead of per-disk ones is a mistery, but whatever
> reason it had, it had acted as serious source of mess. For many years.
> Right now I'm cleaning that mess up in 2.5 and I have nothing nice to
> say about the bright guys responsible for its creation. Sorry.

[amused] Good to see that you now understand that permanent
disk data is not stored in a struct block_device and that
the way to removal of the arrays is nearly independent of
struct block_device and instead dependent on a replacement
of struct gendisk.

[berating] However, your annoyed words are not fair to Drew Eckhardt.
Ten years ago, when he created struct gendisk, most of the problems
you mention did not exist yet.