summaryrefslogtreecommitdiff
path: root/usr/src/common/zfs/zpool_prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/zfs/zpool_prop.c')
-rw-r--r--usr/src/common/zfs/zpool_prop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/common/zfs/zpool_prop.c b/usr/src/common/zfs/zpool_prop.c
index 0ee864ade5..0a69a51207 100644
--- a/usr/src/common/zfs/zpool_prop.c
+++ b/usr/src/common/zfs/zpool_prop.c
@@ -136,6 +136,8 @@ zpool_prop_init(void)
PROP_READONLY, ZFS_TYPE_POOL, "NAME");
zprop_register_hidden(ZPOOL_PROP_MAXBLOCKSIZE, "maxblocksize",
PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_POOL, "MAXBLOCKSIZE");
+ zprop_register_hidden(ZPOOL_PROP_TNAME, "tname", PROP_TYPE_STRING,
+ PROP_ONETIME, ZFS_TYPE_POOL, "TNAME");
}
/*