Subject: Re: disklabeling a 1.7 TB disk
To: David Laight <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/29/2004 06:35:18
>On Fri, Feb 27, 2004 at 05:51:31PM -0500, Jan Schaumann wrote:
>> Ok, I'm going completely insane here. I have a 1.7 TB disk, that I'm
>> desparately trying to disklabel. So:
>> cylinders: -869262
>> total sectors: -876216576
>printfs now fixed in current.
>> Ok, so I think: how about I correct the faulty fields? I fix 'total
>> total sectors: 2147483647
>This patch should fix disklabel so that it will accept up to 2^32-1
>for important fields.
>Going beyond 2^32 sectors is hard.....
btw, NXTNUM/NXTXNUM has problem with _CHECKLINE (_CHECKLINE tries to
"break" out of the loop, but NXTNUM/NXTXNUM is wrapped by do-while
so _CHECKLINE does not function correctly.