Subject: Re: terabyte array and negative cylinders
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 07/02/2003 17:07:22
> I haven't really looked at the code yet, but just thought I'd toss this
> out & see what other people thought--I haven't seen any mention of terabyte
> arrays & NetBSD on the net anywhere.

There are a lot (and I mean LOT) of places where the disk sector number
is held in an int.  Much of the kernel was changed to use daddr_t (64bit)
but that doesn't help much since all the disklabel/mbr handling only
had 32 bit fields.
Clearly the 32bit values could be unsigned, but that only gives a factor
of 2 - and if you can build a 1TB disk, a 2TB one shouldn't be hard!

	David

-- 
David Laight: david@l8s.co.uk