From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GPT on PC/BIOS computers
Date: Mon, 7 May 2007 21:58:46 +0200 [thread overview]
Message-ID: <20070507195844.GA3143@aragorn> (raw)
In-Reply-To: <200705072123.54871.okuji@enbug.org>
On Mon, May 07, 2007 at 09:23:54PM +0200, Yoshinori K. Okuji wrote:
> On Monday 07 May 2007 11:17, Robert Millan wrote:
> > On Sat, May 05, 2007 at 03:21:38PM +0200, Marco Gerards wrote:
> > > > 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.
> >
> > Patch attached. Let me know if it's correct (I had my doubts about
> > hardcoding the the whole partition_map list in grub-probe.c, but then again
> > I think safety is more important).
>
> The naming is not good. In GRUB, we call "partmap" but not "ptable".
Ok, fixed and committed.
Thanks,
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
prev parent reply other threads:[~2007-05-07 20:04 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
2007-05-07 9:17 ` Robert Millan
2007-05-07 19:23 ` Yoshinori K. Okuji
2007-05-07 19:58 ` Robert Millan [this message]
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=20070507195844.GA3143@aragorn \
--to=rmh@aybabtu.com \
--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.