grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Will Thompson <wjt@endlessm.com>
To: grub-devel <grub-devel@gnu.org>, linux@endlessm.com
Cc: Will Thompson <wjt@endlessm.com>
Subject: [PATCH 0/1] search: Add search by GPT partition type
Date: Wed, 20 Jun 2018 16:38:07 +0100	[thread overview]
Message-ID: <20180620153808.6543-1-wjt@endlessm.com> (raw)

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

-- 
2.17.1



             reply	other threads:[~2018-06-20 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 15:38 Will Thompson [this message]
2018-06-20 15:38 ` [PATCH 1/1] search: Add search by GPT partition type Will Thompson
2018-10-18 10:27   ` Daniel Kiper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180620153808.6543-1-wjt@endlessm.com \
    --to=wjt@endlessm.com \
    --cc=grub-devel@gnu.org \
    --cc=linux@endlessm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).