All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GPT on PC/BIOS computers
Date: Sat, 05 May 2007 15:21:38 +0200	[thread overview]
Message-ID: <87fy6bo17h.fsf@xs4all.nl> (raw)
In-Reply-To: <20070504230555.GA17479@aragorn> (Robert Millan's message of "Sat, 5 May 2007 01:05:55 +0200")

Robert Millan <rmh@aybabtu.com> writes:

[...]

> I've looked into this, but I need some advice.  What's the simplest way to
> obtain the corresponding grub_partition_t structure for a partition by knowing
> its drive name?

You can use grub_partition_iterate.  Or open the disk and use
->partition.  You can read the name of the partitioning scheme.  The
is also done in grub-setup.c, in the code you altered.

--
Marco





  reply	other threads:[~2007-05-05 13:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 19:18 GPT on PC/BIOS computers Robert Millan
2007-05-03 13:33 ` Javier Rodríguez Sánchez
2007-05-03 14:17   ` Robert Millan
2007-05-03 14:27     ` Javier Rodríguez Sánchez
2007-05-04 20:32       ` Javier Rodríguez Sánchez
2007-05-04 22:15         ` Robert Millan
2007-05-05 13:13         ` Marco Gerards
2007-05-06  7:02           ` Javier Rodríguez Sánchez
2007-05-04  8:40 ` Marco Gerards
2007-05-04 23:05   ` Robert Millan
2007-05-05 13:21     ` Marco Gerards [this message]
2007-05-07  9:17       ` Robert Millan
2007-05-07 19:23         ` Yoshinori K. Okuji
2007-05-07 19:58           ` Robert Millan

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=87fy6bo17h.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.