git: gpt(8): Refactor parse_uuid() and support more GPT type aliases
Aaron LI
aly at crater.dragonflybsd.org
Thu May 15 20:44:33 PDT 2025
commit 645209024c980f473a57c5f810a8f10783a6c97e
Author: Aaron LI <aly at aaronly.me>
Date: Mon May 12 11:23:43 2025 +0800
gpt(8): Refactor parse_uuid() and support more GPT type aliases
Refactor parse_uuid() to parse GPT type aliases by using an array.
Meanwhile, extend it to support more GPT type aliases, which are defined
in <sys/gpt.h> as well as "/etc/defaults/uuids".
Summary of changes:
sbin/gpt/gpt.8 | 95 +++++++++++++++++++++++++++++++++++++++---------
sbin/gpt/gpt.c | 111 +++++++++++++++++++++++++++------------------------------
2 files changed, 132 insertions(+), 74 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/645209024c980f473a57c5f810a8f10783a6c97e
--
DragonFly BSD source repository
More information about the Commits
mailing list