git: DragonFly_RELEASE_6_4 gpt(8): Extend map_alloc() to accept a custom alignment

Aaron LI aly at crater.dragonflybsd.org
Sat Feb 21 17:07:06 PST 2026


commit f09712547d27a7ef2c27e1cd33bc0a4284849119
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Sep 1 09:41:09 2025 +0800

    gpt(8): Extend map_alloc() to accept a custom alignment
    
    This is required to extend the "add" command to specify a custom
    alignment.

Summary of changes:
 sbin/gpt/add.c  |  7 +++++--
 sbin/gpt/boot.c |  6 ++++--
 sbin/gpt/map.c  | 53 +++++++++++++++++++++++++++++++++--------------------
 sbin/gpt/map.h  |  2 +-
 4 files changed, 43 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f09712547d27a7ef2c27e1cd33bc0a4284849119


-- 
DragonFly BSD source repository


More information about the Commits mailing list