Subject: re: nbdisklabel, nbfdisk patch
To: James Chacon <jmc@NetBSD.org>
From: matthew green <email@example.com>
Date: 04/27/2005 13:42:14
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.
> 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.
Is your intention that all ports would have a cross built fdisk or just
the ones which normally provide one natively? I ask because building
w. your patch for sparc breaks for instance since it normally uses no fdisk
so the mbr SUBDIR check doesn't work there and it gets included and blows up.
on a slightly different tangent....
shouldn't sparc (and sparc64) and probably a few other ports have an
fdisk these days...with USB/pcmcia disk support, anyone could be talking
to a "dos" hard disk...