git: gpt(8): Improve "migrate" command in handling unknown partitions

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


commit 5fead1fd8c4fb520d3fc12851fb5b7a05bd7b306
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Jan 21 19:31:42 2026 +0800

    gpt(8): Improve "migrate" command in handling unknown partitions
    
    If '-f' (force) is unspecified, exit with an error instead of ignoring
    the unknown slice partitions, similar to the handling of unknown DOS
    partitions.

Summary of changes:
 sbin/gpt/migrate.c | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list