summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-04-07 18:23:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-04-07 18:23:28 +0000
commitdc4ee2cf88ca1afae98c25c94ee117a340eb6998 (patch)
tree0c0491d5d0243c50b33c66132fd2b70b6ae7ebe5
parent58e9afacb4f1eaf589f7db2eedf7be418d11fda5 (diff)
Notes
-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 543acca47442..34258a6ac8d6 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);
}