git: gpt(8): Improve migrate_disklabel32() to support more filesystems

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


commit 5a2f9e9975eca17ade34528628e399d811d272bc
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jan 22 13:01:49 2026 +0800

    gpt(8): Improve migrate_disklabel32() to support more filesystems
    
    - Add support for CCD, HAMMER, and HAMMER2 filesystems.
    - Use DragonFly's UUIDs for the filesystems instead of FreeBSD's,
      because we were using DOSPTYP_386BSD (0xA5) before migrating to
      our own DOSPTYP_DFLYBSD (0x6C).
    
    The next commit will add disklabel64 migration support.

Summary of changes:
 sbin/gpt/migrate.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a2f9e9975eca17ade34528628e399d811d272bc


-- 
DragonFly BSD source repository


More information about the Commits mailing list