summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2026-04-30 10:06:05 +0200
committerPatrice Chotard <[email protected]>2026-05-12 15:52:01 +0200
commit703f8c313dd948e28868d964f798bad34ecc1572 (patch)
treeecdf1031794a1d57ded00fbb797c0333d917d04e /tests/scripts
parenta392450189d2434be19c194df560c8bc9335e337 (diff)
cmd: part: support lookup by UUID
The 'part' command currently allows looking up a partition only by its number or name. Extend the 'number', 'start', and 'size' subcommands to support looking up the partition via its UUID. Unlike names, UUIDs guarantee unique partition identification, avoiding ambiguity. The logic is updated to check if the provided string is a valid UUID before falling back to a name-based search. The help strings for these subcommands are updated accordingly. Signed-off-by: Dario Binacchi <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tests/scripts')
0 files changed, 0 insertions, 0 deletions