From: Peter Jones <pjones@redhat.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: counting partitions in gpt partition map
Date: Tue, 25 Apr 2006 17:47:33 -0400 [thread overview]
Message-ID: <1146001653.14889.45.camel@localhost.localdomain> (raw)
In-Reply-To: <87hd4hjt01.fsf@xs4all.nl>
On Tue, 2006-04-25 at 22:32 +0200, Marco Gerards wrote:
> "Yoshinori K. Okuji" <okuji@enbug.org> writes:
>
> > Why does the gpt partition map count partitions from one instead of zero,
> > unlike other partition maps in GRUB? I don't object to changing the base
> > number to one in GRUB 2, but they should be at least consistent.
>
> This most likely would be a bug, if this is the case. I haven't
> really tested things on a partition map that is actually in use.
> Perhaps it's that or clumsiness that introduced this.
>
> IIRC the first partition is one with a special meaning, perhaps it is
> that?
Well, the encapsulating partition table has one sentinel value in it,
and if you're using EFI you might have EFI boot partitions. The former
you really wouldn't want to count, the latter you would.
--
Peter
prev parent reply other threads:[~2006-04-25 21:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 19:44 counting partitions in gpt partition map Yoshinori K. Okuji
2006-04-25 20:27 ` Hollis Blanchard
2006-04-25 20:32 ` Marco Gerards
2006-04-25 21:47 ` Peter Jones [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=1146001653.14889.45.camel@localhost.localdomain \
--to=pjones@redhat.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.