Subject: should sysinst change MBR_PTYPE_386BSD to MBR_PTYPE_NETBSD?
To: None <>
From: David Laight <>
List: tech-install
Date: 06/14/2003 14:44:41
There is code in sysinst for 3 ports (arc, hpcmips and i386) that blindly
changes an mbr partition of type MBR_PTYPE_386BSD (165) to 
MBR_PTYPE_NETBSD (169) if one exists and one of the latter doesn't.

I realise that this was put in (at least for i386) because the type of
the netbsd label changed.  But I wonder if this code (at least in its
current form) is well past its 'best before' date?

Was it ever needed for arc and hpcmips?

Is it likely that an upgrade from such an old release will actually

Do I remember something about the format of a netbsd disklabel being
slightly different from other bsds that might be (still) using type 165?
(something like the sector numbers being relative to the mbr partition?)
If so then this translation (and the related kernel code) is completely
brain dead.


David Laight: