Hi Patrick, On 5/23/25 11:11, Patrick Delaunay wrote: > Add support of optional shortname for parameter 'type' of gpt > command (limited by UUID_STR_LEN) and a separate 'description' > for UID format "%pUs" used in 'part list' output. > > When 'description' is absent in list_guid[], the optional > shortname is used as fallback. > > Many partition types for EFI have no shortcut yet, but only > description as they are only used to display information. > > This patch also restores the "system" as short name for EFI > System Partition (ESP). > > Fixes: d54e1004b8b1 ("lib/uuid.c: use unique name for PARTITION_SYSTEM_GUID") > Tested-by: Patrice Chotard <patrice.chot...@foss.st.com> > Signed-off-by: Patrick Delaunay <patrick.delau...@foss.st.com> > --- > > Changes in v2: > - change 'string' to 'type' in struct for list_guid[] > - clarify the usage of struct field 'type' and 'description' in > comment and in commit message > - use 'type' for EFI_XXX description as these string have > no space and size is lower than 36 characters. > - update after V1 review > > lib/uuid.c | 158 ++++++++++++++++++++++++++++------------------------- > 1 file changed, 85 insertions(+), 73 deletions(-)
Thanks for cleaning this up. This new uuid/type/description combo makes a lot of sense. Acked-by: Jerome Forissier <jerome.foriss...@linaro.org> -- Jerome