git: disklabel64 - Make disktype optional, fix alignment bug
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Mar 10 13:42:24 PST 2018
commit 0a31961570a4f5b0eff99d4c2e54d7bc722c8c2f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Mar 10 13:39:59 2018 -0800
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 at aaronly.me>
Summary of changes:
sbin/diskinfo/diskinfo.c | 4 +-
sbin/disklabel64/disklabel64.8 | 189 +++++++++++---------------
sbin/disklabel64/disklabel64.c | 204 +++++++++++++---------------
share/examples/rconfig/auto.sh | 4 +-
share/examples/rconfig/encrypted_root.sh | 2 +-
share/examples/rconfig/hammer.sh | 2 +-
share/examples/rconfig/hammer_ccd_mirror.sh | 2 +-
share/examples/rconfig/hammer_lvm_stripe.sh | 2 +-
share/examples/rconfig/hammer_uefi.sh | 2 +-
sys/kern/subr_disklabel64.c | 43 +++---
sys/sys/disklabel64.h | 21 ++-
usr.sbin/installer/dfuibe_installer/flow.c | 2 +-
12 files changed, 219 insertions(+), 258 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a31961570a4f5b0eff99d4c2e54d7bc722c8c2f
--
DragonFly BSD source repository
More information about the Commits
mailing list