DragonFlyBSD/src bd2b9b6sbin/gpt create.c gpt.8

gpt - Add a new directive called 'init'

* Add a new directive called 'init'.  This directive works like
  gpt create except it will also create a msdos slice 0 (and newfs_msdos
  it), and a "DragonFly Label64" slice 1, and
  'disklabel -r -w <slice1> auto'.

* If -B is also specified, the init directive will populate the msdos
  filesystem with efi/boot/bootx64.efi, and also supplies -B to the
  disklabel command.

* This command does not create the boot, swap, or root filesystem
  partitions in the disklabel.  It is meant to do something similar
  to what fdisk -IB used to do for us for legacy partitions (though
  I should note that fdisk -IB didn't initialize a new disklabel).  But
  we do for gpt.
DeltaFile
+152-2sbin/gpt/create.c
+21-0sbin/gpt/gpt.8
+20-0sbin/gpt/add.c
+13-2sbin/gpt/destroy.c
+4-0sbin/gpt/gpt.h
+1-0sbin/gpt/gpt.c
+211-46 files

UnifiedSplitRaw