From owner-cvs-src-old@FreeBSD.ORG Thu Jun 3 13:05:07 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA874106568B for ; Thu, 3 Jun 2010 13:05:07 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 991418FC08 for ; Thu, 3 Jun 2010 13:05:07 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o53D57DB081688 for ; Thu, 3 Jun 2010 13:05:07 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o53D57bN081687 for cvs-src-old@freebsd.org; Thu, 3 Jun 2010 13:05:07 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201006031305.o53D57bN081687@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Thu, 3 Jun 2010 13:01:55 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/geom/class/part geom_part.c src/sys/sys vtoc.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 13:05:07 -0000 marius 2010-06-03 13:01:55 UTC FreeBSD src repository Modified files: sbin/geom/class/part geom_part.c sys/sys vtoc.h Log: SVN rev 208777 on 2010-06-03 13:01:55Z by marius - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default. - Add missing prototypes. - Add const where applicable. Reviewed by: marcel MFC after: 3 days Revision Changes Path 1.25 +102 -37 src/sbin/geom/class/part/geom_part.c 1.4 +2 -1 src/sys/sys/vtoc.h