diff options
author | Andriy Gapon <agapon@panzura.com> | 2018-03-28 14:01:58 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-12-17 19:26:37 -0500 |
commit | 04e56356520b98d5a93c496b10f02530bb6647e0 (patch) | |
tree | 30c5917cefa20dd7c6f17b3686dc13362158f9bc /usr/src/common/zfs | |
parent | 36acdd115a7d14b9a0ffd968d084ebeac2451a7e (diff) | |
download | illumos-gate-04e56356520b98d5a93c496b10f02530bb6647e0.tar.gz |
5882 Temporary pool names
Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common/zfs')
-rw-r--r-- | usr/src/common/zfs/zpool_prop.c | 2 |
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"); } /* |