git: DragonFly_RELEASE_6_4 gpt(8): Fix "expand" command to update 'hdr_lba_end'

Aaron LI aly at crater.dragonflybsd.org
Sun Sep 27 03:16:24 PDT 2026


commit a1c2f7b19803a229bd868038c20ae76a8f2cee47
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Sep 27 18:12:54 2026 +0800

    gpt(8): Fix "expand" command to update 'hdr_lba_end'
    
    Update the usuable LBA by fixing the 'hdr_lba_end' after expanding.
    Otherwise, the extended partition may extend beyond the usuable LBA.
    
    Bugs: #3276, #3423

Summary of changes:
 sbin/gpt/expand.c | 2 ++
 1 file changed, 2 insertions(+)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list