diff options
Diffstat (limited to 'sbin/gpt/gpt.c')
-rw-r--r-- | sbin/gpt/gpt.c | 7 |
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); } |