>> So what goes wrong is not at the file system level, but MBR and disklabel >> handling. I dimly recall the disklabel moved into the type 169 MBR partition >> a long time ago - I bet 4.0 was before that change and this is what >> now causes the broken wedge auto-detection.
There's an interesting switch (dp->mbrp_type) { #ifdef COMPAT_386BSD_MBRPART case MBR_PTYPE_386BSD: if (ext_base != 0) break; /* FALLTHROUGH */ #endif case MBR_PTYPE_NETBSD: in /usr/src/sbin/disklabel/main.c which dates from 2005 if I read the "cvs annotate" correctly. > Yes believe this is ancient history. NetBSD 1.0 would install with a 169 > partition. IIRC before 1.0 you might have ended up with a partition ID > of 165. It needed to be changed for NetBSD 1.2 to work (I think). That was a bit later (but still rather early): The move from the 165 (FreeBSD, NetBSD, 386BSD) to the 169 (NetBSD) fdisk partition type happened between NetBSD-1.3 and 1.4. (Revs 1.25+26 of /usr/src/sbin/fdisk/fdisk.c: date: 1998-02-25 15:19:12 +0100; author: drochner; state: Exp; lines: +3 -3; Use the new NetBSD partition ID for first time setup of an MBR. ) Martin Neitzel