summaryrefslogtreecommitdiff
path: root/usr/src/common/zfs
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2016-04-11 23:41:07 +0300
committerDan McDonald <danmcd@omniti.com>2017-05-17 11:27:13 -0400
commit7855d95b30fd903e3918bad5a29b777e765db821 (patch)
tree917579b1764c6361ef47618451b4ad2d38506d09 /usr/src/common/zfs
parent859dddab5a1a5373df6d162d36ae46a9f8560cd0 (diff)
downloadillumos-gate-7855d95b30fd903e3918bad5a29b777e765db821.tar.gz
7446 zpool create should support efi system partition
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: Dan McDonald <danmcd@kebe.com>
Diffstat (limited to 'usr/src/common/zfs')
-rw-r--r--usr/src/common/zfs/zpool_prop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/common/zfs/zpool_prop.c b/usr/src/common/zfs/zpool_prop.c
index 9c717442ed..2a4f55d5b9 100644
--- a/usr/src/common/zfs/zpool_prop.c
+++ b/usr/src/common/zfs/zpool_prop.c
@@ -100,6 +100,10 @@ zpool_prop_init(void)
PROP_READONLY, ZFS_TYPE_POOL, "<1.00x or higher if deduped>",
"DEDUP");
+ /* system partition size */
+ zprop_register_number(ZPOOL_PROP_BOOTSIZE, "bootsize", 0, PROP_ONETIME,
+ ZFS_TYPE_POOL, "<size>", "BOOTSIZE");
+
/* default number properties */
zprop_register_number(ZPOOL_PROP_VERSION, "version", SPA_VERSION,
PROP_DEFAULT, ZFS_TYPE_POOL, "<version>", "VERSION");