summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/gpt/gpt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/gpt/gpt.c b/sbin/gpt/gpt.c
index 6085ed2..543acca 100644
--- a/sbin/gpt/gpt.c
+++ b/sbin/gpt/gpt.c
@@ -268,6 +268,13 @@ parse_uuid(const char *s, uuid_t *uuid)
return (0);
switch (*s) {
+ case 'b':
+ if (strcmp(s, "boot") == 0) {
+ uuid_t boot = GPT_ENT_TYPE_FREEBSD_BOOT;
+ *uuid = boot;
+ return (0);
+ }
+ break;
case 'e':
if (strcmp(s, "efi") == 0) {
uuid_t efi = GPT_ENT_TYPE_EFI;
OpenPOWER on IntegriCloud