freebsd-dev/cddl/usr.sbin/zfsd
Alexander Motin e5a4a83784 MFV r318941: 7446 zpool create should support efi system partition
illumos/illumos-gate@7855d95b30
7855d95b30

https://www.illumos.org/issues/7446
  Since we support whole-disk configuration for boot pool, we also will need
  whole disk support with UEFI boot and for this, zpool create should create efi-
  system partition.
  I have borrowed the idea from oracle solaris, and introducing zpool create -
  B switch to provide an way to specify that boot partition should be created.
  However, there is still an question, how big should the system partition be.
  For time being, I have set default size 256MB (thats minimum size for FAT32
  with 4k blocks). To support custom size, the set on creation "bootsize"
  property is created and so the custom size can be set as: zpool create B -
  o bootsize=34MB rpool c0t0d0
  After pool is created, the "bootsize" property is read only. When -B switch is
  not used, the bootsize defaults to 0 and is shown in zpool get output with
  value ''. Older zfs/zpool implementations are ignoring this property.
  https://www.illumos.org/rb/r/219/

Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Dan McDonald <danmcd@kebe.com>
Author: Toomas Soome <tsoome@me.com>

This commit makes no sense for FreeBSD, that is why I blocked the option,
but it should be good to stay closer to upstream.
2018-02-21 00:18:57 +00:00
..
tests Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP. 2017-06-19 20:47:24 +00:00
callout.cc
callout.h zfsd: minor spelling fix. 2016-05-30 19:32:56 +00:00
case_file.cc MFV r318941: 7446 zpool create should support efi system partition 2018-02-21 00:18:57 +00:00
case_file.h Optimize zfsd for the happy case 2018-02-15 21:30:30 +00:00
Makefile Remove unnecessary variable (SRCDIR) replaced by SRCTOP in Makefile.common 2016-08-29 19:07:48 +00:00
Makefile.common Use SRCTOP instead of a homegrown definition for it (SRCDIR) 2016-08-29 19:06:40 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vdev_iterator.cc zfsd should be able to online an L2ARC that disappears and returns 2017-10-26 15:28:18 +00:00
vdev_iterator.h
vdev.cc
vdev.h Add an empty virtual destructor to zfsd's Vdev class. This is needed 2016-08-29 18:51:49 +00:00
zfsd_event.cc Optimize zfsd for the happy case 2018-02-15 21:30:30 +00:00
zfsd_event.h zfsd: Allow zfsd to work on any type of GEOM provider 2018-02-14 23:52:39 +00:00
zfsd_exception.cc
zfsd_exception.h
zfsd_main.cc
zfsd.8
zfsd.cc zfsd: Allow zfsd to work on any type of GEOM provider 2018-02-14 23:52:39 +00:00
zfsd.h
zpool_list.cc
zpool_list.h