svn commit: r239836 - head/sbin/geom/class/part
Dag-Erling Smørgrav
des at FreeBSD.org
Wed Aug 29 15:18:57 UTC 2012
Author: des
Date: Wed Aug 29 15:18:56 2012
New Revision: 239836
URL: http://svn.freebsd.org/changeset/base/239836
Log:
Change the gptboot example so the boot partition is aligned on a 4 kB
boundary.
MFC after: 3 days
Modified:
head/sbin/geom/class/part/gpart.8
Modified: head/sbin/geom/class/part/gpart.8
==============================================================================
--- head/sbin/geom/class/part/gpart.8 Wed Aug 29 15:13:13 2012 (r239835)
+++ head/sbin/geom/class/part/gpart.8 Wed Aug 29 15:18:56 2012 (r239836)
@@ -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
More information about the svn-src-head
mailing list