diff options
author | des <des@FreeBSD.org> | 2012-08-29 15:18:56 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2012-08-29 15:18:56 +0000 |
commit | 3e53f10006c35da69e5c05d2e117e7d2da1a78bf (patch) | |
tree | d957aa07cb7b4d22f7e90ffb38389aa6e6d16445 /sbin/geom/class/part | |
parent | 19916e0c856007c51e94e0dfb26a3d32611b4f40 (diff) | |
download | FreeBSD-src-3e53f10006c35da69e5c05d2e117e7d2da1a78bf.zip FreeBSD-src-3e53f10006c35da69e5c05d2e117e7d2da1a78bf.tar.gz |
Change the gptboot example so the boot partition is aligned on a 4 kB
boundary.
MFC after: 3 days
Diffstat (limited to 'sbin/geom/class/part')
-rw-r--r-- | sbin/geom/class/part/gpart.8 | 5 |
1 files changed, 3 insertions, 2 deletions
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 |