From d342e161fec9649aba79a4d28e01da9cfa029632 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Tigeot?= Date: Sun, 18 Dec 2011 20:48:19 +0100 Subject: [PATCH] gpt(8): increase size of boot slice to 768MB * aligning it to the size of the boot slice created by the live cd installer --- sbin/gpt/boot.c | 2 +- sbin/gpt/gpt.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/gpt/boot.c b/sbin/gpt/boot.c index 9d5e2a7315..2c89dd237e 100644 --- a/sbin/gpt/boot.c +++ b/sbin/gpt/boot.c @@ -78,7 +78,7 @@ bootset(int fd) err(1, "unable to find uuid for 'DragonFly Label32'"); entry = 0; block = 0; - size = 256 * 1024 * 1024 / 512; + size = 768 * 1024 * 1024 / 512; gpt = map_find(MAP_TYPE_PRI_GPT_HDR); if (gpt == NULL) diff --git a/sbin/gpt/gpt.8 b/sbin/gpt/gpt.8 index 7c5aef702b..29f75dfed2 100644 --- a/sbin/gpt/gpt.8 +++ b/sbin/gpt/gpt.8 @@ -163,7 +163,7 @@ The command allows the user to create a small boot partition in a freshly created GPT. .Pp -This command creates a small, 256MB boot partition as partition #0 +This command creates a small, 768MB boot partition as partition #0 and hacks in a special .Sq slice 1 in the PMBR which aliases it. -- 2.41.0