Module Name: src Committed By: bouyer Date: Sun Oct 20 13:43:26 UTC 2013
Modified Files: src/distrib/utils/sysinst [netbsd-6-0]: mbr.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #972): distrib/utils/sysinst/mbr.c: revision 1.92 Fix another botch of my dumb patch in PR/45990; add missing braces. The offset of MBR partition 0 was unintentionally set to 2048 even on small (<=128GB) disks. Probably we should rethink the threshold, but anyway sysinst(8) should follow fdisk(8) default. http://nxr.NetBSD.org/xref/src/sbin/fdisk/fdisk.c?r=1.145#1199 http://cvsweb.NetBSD.org/bsdweb.cgi/src/sbin/fdisk/fdisk.c#rev1.129 The problem is pointed out and analyzed by Simon Nicolussi in PR/48304. Should be pulled up to all netbsd-6* branches. To generate a diff of this commit: cvs rdiff -u -r1.89.2.2 -r1.89.2.2.4.1 src/distrib/utils/sysinst/mbr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.