Subject: Re: nbdisklabel, nbfdisk patch
To: David Young <dyoung@pobox.com>
From: James Chacon <jmc@NetBSD.org>
List: tech-toolchain
Date: 04/23/2005 02:24:40
On Fri, Apr 22, 2005 at 05:18:15PM -0500, David Young wrote:
> Soon I would like to commit the attached patches for disklabel and
> fdisk host-tools.  I have tested on RedHat 8.0 and on NetBSD-current,
> and I can get some help to test on NetBSD 1.6.2.  It would be great if
> somebody would test on FreeBSD and/or OpenBSD.

I finally got some time and will be testing this weekend.

> 
> fdisk surprises me on Linux by printing this:
> 
> 	command line: primary partition table invalid, no magic in sector 577801482179444736
> 	Making partition 0 active.
> 
> I'm not sure what to make of 'command line:' and that huge sector number,
> but the resulting CompactFlash image does boot my Soekris computers.

Sounds like an int overflow.

James