From owner-svn-src-all@FreeBSD.ORG Sat Aug 20 08:20:10 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE24D1065670; Sat, 20 Aug 2011 08:20:10 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AE6F88FC08; Sat, 20 Aug 2011 08:20:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7K8KAKj040603; Sat, 20 Aug 2011 08:20:10 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7K8KAA8040601; Sat, 20 Aug 2011 08:20:10 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201108200820.p7K8KAA8040601@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Sat, 20 Aug 2011 08:20:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225023 - head/sbin/geom/class/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 08:20:10 -0000 Author: ae Date: Sat Aug 20 08:20:10 2011 New Revision: 225023 URL: http://svn.freebsd.org/changeset/base/225023 Log: o Fix mdoc formatting for the '.Fx' macro. [1] o Add information about APM scheme and fix typos. [2] Submitted by: gjb [1], nwhitehorn [2] Approved by: re (kib) MFC after: 1 week Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/part/gpart.8 ============================================================================== --- head/sbin/geom/class/part/gpart.8 Sat Aug 20 07:43:10 2011 (r225022) +++ head/sbin/geom/class/part/gpart.8 Sat Aug 20 08:20:10 2011 (r225023) @@ -709,7 +709,8 @@ The scheme-specific attributes for PC98: .It Cm bootable .El .Sh BOOTSTRAPPING -.Fx supports several partitioning schemes and each scheme uses different +.Fx +supports several partitioning schemes and each scheme uses different bootstrap code. The bootstrap code is located in the specific disk area for each partitioning scheme and also it might have different size. @@ -770,7 +771,7 @@ and The first one is used to boot from UFS. It searches in the GPT partition with type .Cm freebsd-ufs , -and it runs the thrid bootstrap stage ( +and it runs the third bootstrap stage ( .Pa /boot/loader ) if it is found. The @@ -785,7 +786,7 @@ from it. The VTOC8 scheme does not support embedding bootstrap code. Instead, the 8 KBytes bootstrap code image .Pa /boot/boot1 -could be written with +should be written with .Cm gpart bootcode command with .Fl p Ar bootcode @@ -793,6 +794,15 @@ option to all sufficiently large VTOC8 p To do this the .Fl i Ar index option could be ommited. +.Pp +The APM scheme also does not support embedding bootstrap code. +Instead, the 800 KBytes bootstrap code image +.Pa /boot/boot1.hfs +should be written with +.Cm gpart bootcode +command to a partition of type +.Cm freebsd-boot , +which should also be 800 KB in size. .Sh OPERATIONAL FLAGS Actions other than the .Cm commit