Skip to content

search: Add search by GPT partition type

Will Thompson grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1search: Add search by GPT partition typedocs/grub.texi grub-core/Makefile.core.def grub-core/commands/search.c +6 more+118 -191 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] search: Add search by GPT partition type

This may be useful to locate a root partition by the GUID defined in the Discoverable Partitions Specification.

https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/

Endless moved away from using this technique because we have to support non-GPT partition tables in some cases, but this feature may be useful to others in future.

Carlo Caione (1):
search: Add search by GPT partition type

 docs/grub.texi                   | 14 ++++---
 grub-core/Makefile.core.def      |  5 +++
 grub-core/commands/search.c      | 69 +++++++++++++++++++++++++++++++-
 grub-core/commands/search_type.c |  5 +++
 grub-core/commands/search_wrap.c | 12 ++++--
 grub-core/partmap/gpt.c          |  9 +++++
 include/grub/gpt_partition.h     |  9 -----
 include/grub/partition.h         | 12 ++++++
 include/grub/search.h            |  2 +
 9 files changed, 118 insertions(+), 19 deletions(-)
 create mode 100644 grub-core/commands/search_type.c
Signature · 1 line
2.17.1