Module Name: src Committed By: riz Date: Tue Mar 8 17:05:32 UTC 2011
Modified Files: src/sbin/disklabel [netbsd-5]: Makefile Log Message: Pull up following revision(s) (requested by dholland in ticket #1561): sbin/disklabel/Makefile: revision 1.67 Disable COMPAT_386BSD_MBRPART. The code is still here if anyone needs it for some reason. (But I have no idea why that would be -- if you have one of these really ancient partitions and you're about to run disklabel, you can easily run fdisk first and change the partition type to NetBSD.) As it stands, the code will munch FreeBSD installs under some circumstances, which is really not acceptable behavior. The code, along with the kernel support that's been disabled by default for several years, and some related but less dangerous code in sysinst, should prboably be removed entirely after -6 is branched. Discussed on tech-kern and tech-userlevel; closes PR 44496. This is also almost certainly the cause of PR 42521 and PR 38841. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.61.6.1 src/sbin/disklabel/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/disklabel/Makefile diff -u src/sbin/disklabel/Makefile:1.61 src/sbin/disklabel/Makefile:1.61.6.1 --- src/sbin/disklabel/Makefile:1.61 Tue Mar 11 08:18:22 2008 +++ src/sbin/disklabel/Makefile Tue Mar 8 17:05:32 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2008/03/11 08:18:22 aymeric Exp $ +# $NetBSD: Makefile,v 1.61.6.1 2011/03/08 17:05:32 riz Exp $ # @(#)Makefile 8.2 (Berkeley) 3/17/94 PROG= disklabel @@ -38,8 +38,8 @@ ) # use MBR partition info CPPFLAGS+= -DUSE_MBR -# recognize old MBR partition ID for a while -CPPFLAGS+= -DCOMPAT_386BSD_MBRPART +# do not recognize old MBR partition ID any more +#CPPFLAGS+= -DCOMPAT_386BSD_MBRPART .endif .if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")