Re: lots and lots of disks again

Kurt Garloff
2004-02-10T20:59:50Z

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

Hi Andries,

On Tue, Feb 10, 2004 at 09:10:02PM +0100, Andries Brouwer wrote:
> + * major p2 disc2 disc p1
> + * |............|..|..........|....|....| <- dev_t
> + * 31 20 17 8 7 4 3 0
[...]
>
> It is true that the first step needed is some agreement on
> how to assign device numbers to disks and their partitions.
>
> The above suggestion is really ugly, however.

Nice! Ask two people and you'll get three opinions.

> I can hardly imagine that we would like to start such crap
> while still in the design phase.

We maintain backwards compatibility.
We need some bit shuffling and the rest is straightforward.
As we are pretty sure to not need beyong 256k disks, we reserve two
extra bits for the partition (though we can't currently use it).

The only alternative that I see is leaving the old majors alone
and starting a new scheme with new majors. Not really nice either;
if you think about supporting > 16 partitions, it's even very
inconsistent.

I don't see what's crappy with the suggestion. Tell us!

Regards,
--
Kurt Garloff <garloff@suse.de> Cologne, DE
SUSE LINUX AG, Nuernberg, DE SUSE Labs (Head)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]