Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2012 20:45:59 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r240102 - stable/9/sbin/geom/class/part
Message-ID:  <201209042045.q84KjxmT016293@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Tue Sep  4 20:45:59 2012
New Revision: 240102
URL: http://svn.freebsd.org/changeset/base/240102

Log:
  MFH (r239836): align the boot partition on a 4 kB boundary.

Modified:
  stable/9/sbin/geom/class/part/gpart.8
Directory Properties:
  stable/9/sbin/geom/   (props changed)
  stable/9/sbin/geom/class/part/   (props changed)

Modified: stable/9/sbin/geom/class/part/gpart.8
==============================================================================
--- stable/9/sbin/geom/class/part/gpart.8	Tue Sep  4 20:14:37 2012	(r240101)
+++ stable/9/sbin/geom/class/part/gpart.8	Tue Sep  4 20:45:59 2012	(r240102)
@@ -1006,11 +1006,12 @@ or
 but smaller than 545 kB since the first-stage loader will load the
 entire partition into memory during boot, regardless of how much data
 it actually contains.
-This example uses 94 blocks (47 kB) so the next partition will be
+This example uses 88 blocks (44 kB) so the next partition will be
 aligned on a 64 kB boundary without the need to specify an explicit
 offset or alignment.
+The boot partition itself is aligned on a 4 kB boundary.
 .Bd -literal -offset indent
-/sbin/gpart add -b 34 -s 94 -t freebsd-boot ad0
+/sbin/gpart add -b 40 -s 88 -t freebsd-boot ad0
 /sbin/gpart bootcode -p /boot/gptboot -i 1 ad0
 .Ed
 .Pp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209042045.q84KjxmT016293>