summaryrefslogtreecommitdiffstats
path: root/sbin/gpt/show.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/gpt/show.c')
-rw-r--r--sbin/gpt/show.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/gpt/show.c b/sbin/gpt/show.c
index 5d0ee2e..9531288 100644
--- a/sbin/gpt/show.c
+++ b/sbin/gpt/show.c
@@ -64,6 +64,7 @@ friendly(uuid_t *t)
static uuid_t swap = GPT_ENT_TYPE_FREEBSD_SWAP;
static uuid_t ufs = GPT_ENT_TYPE_FREEBSD_UFS;
static uuid_t vinum = GPT_ENT_TYPE_FREEBSD_VINUM;
+ static uuid_t zfs = GPT_ENT_TYPE_FREEBSD_ZFS;
static char buf[80];
char *s;
@@ -80,6 +81,8 @@ friendly(uuid_t *t)
return ("FreeBSD UFS/UFS2");
if (uuid_equal(t, &vinum, NULL))
return ("FreeBSD vinum");
+ if (uuid_equal(t, &zfs, NULL))
+ return ("FreeBSD ZFS");
if (uuid_equal(t, &freebsd, NULL))
return ("FreeBSD legacy");
OpenPOWER on IntegriCloud