hammer2 - buildworld components, boot2 and loader support
commit01aea3fd80f7628a3ecbdbd246f0747800900fbb
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Aug 2017 07:53:40 +0000 (18 00:53 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Aug 2017 07:53:40 +0000 (18 00:53 -0700)
tree87148f574db049b8f0ae5ab5e019c8cb0cf36cec
parentb9aaac5bc6cd9b329d63b751d2bf3e9f3e3fd98a
hammer2 - buildworld components, boot2 and loader support

* Compile hammer2 components unconditionally in buildworld now.
  Leave conditionals commented out for the moment, they will be
  removed entirely later on.

* Finish revamping the boot code to properly handle H2 DIRENTs.
  The boot code can now boot from a HAMMER2 'a' partition if desired.
  UFS is no longer required.

* Change newfs_hammer2, mount_hammer2, and the hammer2 vfs to supply
  a default super-root label if none specified.  Supply "@BOOT" when
  mounting from the 'a' partition, "@ROOT" when mounting from the 'd'
  partition, and "@DATA" when mounting from any other partition.

  mount_hammer2 no longer defaults to using @LOCAL for the label when
  none is specified.  Instead we want hammer2 mounts that fail to supply
  a label to behave in a manner that is more likely to be expected by
  the superuser.

* Do not yet include hammer2 in X86_64_GENERIC.  At the moment it must
  be supplied in /boot/loader.conf if the user wishes to boot from it.
lib/Makefile
lib/libstand/hammer2.c
sbin/Makefile
sbin/mount_hammer2/mount_hammer2.c
sbin/newfs_hammer2/newfs_hammer2.c
sys/vfs/Makefile
sys/vfs/hammer2/hammer2_vfsops.c