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 543acca..34258a6 100644
--- a/sbin/gpt/gpt.c
+++ b/sbin/gpt/gpt.c
@@ -317,6 +317,13 @@ parse_uuid(const char *s, uuid_t *uuid)
return (0);
}
break;
+ case 'z':
+ if (strcmp(s, "zfs") == 0) {
+ uuid_t zfs = GPT_ENT_TYPE_FREEBSD_ZFS;
+ *uuid = zfs;
+ return (0);
+ }
+ break;
}
return (EINVAL);
}
OpenPOWER on IntegriCloud