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

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 18 06:32:40 PST 2026


commit a48b830c0bd3c9df52d12b35b86fa631ff0cc342
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 |  4 +++-
 sbin/gpt/map.c  | 54 +++++++++++++++++++++++++++++++++---------------------
 sbin/gpt/map.h  |  2 +-
 4 files changed, 42 insertions(+), 25 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list