disklabel64 - Make disktype optional, fix alignment bug
commit0a31961570a4f5b0eff99d4c2e54d7bc722c8c2f
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 10 Mar 2018 21:39:59 +0000 (10 13:39 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 10 Mar 2018 21:39:59 +0000 (10 13:39 -0800)
tree9f0e518acf7c3b22159a5706658002ee4eae1d41
parent8482f619a11571678e26f30a96dad3ae2f0c4b6c
disklabel64 - Make disktype optional, fix alignment bug

* Make the disktype optional, use 'auto' automatically

* Fix a bug in the kernel's l64_makevirginlabel() calculation.
  It was not properly calculating the alignment relative to
  the physical disk.

* Refactor some of the documentation

* Refactor examples

Submitted-by: Aaron LI <aly@aaronly.me>
12 files changed:
sbin/diskinfo/diskinfo.c
sbin/disklabel64/disklabel64.8
sbin/disklabel64/disklabel64.c
share/examples/rconfig/auto.sh
share/examples/rconfig/encrypted_root.sh
share/examples/rconfig/hammer.sh
share/examples/rconfig/hammer_ccd_mirror.sh
share/examples/rconfig/hammer_lvm_stripe.sh
share/examples/rconfig/hammer_uefi.sh
sys/kern/subr_disklabel64.c
sys/sys/disklabel64.h
usr.sbin/installer/dfuibe_installer/flow.c