From d967bc22d02fbe9b0f5bcf042043b4746bba2b40 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 6 Sep 2012 16:27:59 +0000 Subject: [PATCH] MFH (r239836): align the boot partition on a 4 kB boundary. Approved by: re (kib) git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sbin/geom/class/part/gpart.8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sbin/geom/class/part/gpart.8 b/sbin/geom/class/part/gpart.8 index 2e745c40..7a91d3db 100644 --- a/sbin/geom/class/part/gpart.8 +++ b/sbin/geom/class/part/gpart.8 @@ -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 -- 2.42.0