From 3e53f10006c35da69e5c05d2e117e7d2da1a78bf Mon Sep 17 00:00:00 2001 From: des Date: Wed, 29 Aug 2012 15:18:56 +0000 Subject: Change the gptboot example so the boot partition is aligned on a 4 kB boundary. MFC after: 3 days --- sbin/geom/class/part/gpart.8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/geom/class/part') diff --git a/sbin/geom/class/part/gpart.8 b/sbin/geom/class/part/gpart.8 index 2e745c4..7a91d3d 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 -- cgit v1.1