* 1-based partition numbering
@ 2006-06-05 19:04 Yoshinori K. Okuji
2006-06-05 19:14 ` Hollis Blanchard
0 siblings, 1 reply; 3+ messages in thread
From: Yoshinori K. Okuji @ 2006-06-05 19:04 UTC (permalink / raw)
To: The development of GRUB 2
So I have changed the partition numbering to 1-based. The strategy is that we
use 1-based only for the string representation of a device, while keeping
0-based internally. I think this is more intuitive for hacking. I assume that
I have modified all relevant parts, but I might have missed some parts. If
you find anything not working well, let me know.
Okuji
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 1-based partition numbering
2006-06-05 19:04 1-based partition numbering Yoshinori K. Okuji
@ 2006-06-05 19:14 ` Hollis Blanchard
2006-06-05 19:53 ` Yoshinori K. Okuji
0 siblings, 1 reply; 3+ messages in thread
From: Hollis Blanchard @ 2006-06-05 19:14 UTC (permalink / raw)
To: The development of GRUB 2
On Mon, 2006-06-05 at 21:04 +0200, Yoshinori K. Okuji wrote:
> So I have changed the partition numbering to 1-based. The strategy is that we
> use 1-based only for the string representation of a device, while keeping
> 0-based internally. I think this is more intuitive for hacking. I assume that
> I have modified all relevant parts, but I might have missed some parts. If
> you find anything not working well, let me know.
If I understand correctly, that means a user will specify "(hd,1)" to
mean "the first partition on device 'hd'", where they used to specify
"(hd,0)"?
I'm very happy to see that; I agree with the decision. However, I was a
bit surprised as well. I haven't been following grub-devel that closely
recently, but I didn't see any proposal about it. Did I miss it?
-Hollis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 1-based partition numbering
2006-06-05 19:14 ` Hollis Blanchard
@ 2006-06-05 19:53 ` Yoshinori K. Okuji
0 siblings, 0 replies; 3+ messages in thread
From: Yoshinori K. Okuji @ 2006-06-05 19:53 UTC (permalink / raw)
To: The development of GRUB 2
On Monday 05 June 2006 21:14, Hollis Blanchard wrote:
> On Mon, 2006-06-05 at 21:04 +0200, Yoshinori K. Okuji wrote:
> > So I have changed the partition numbering to 1-based. The strategy is
> > that we use 1-based only for the string representation of a device, while
> > keeping 0-based internally. I think this is more intuitive for hacking. I
> > assume that I have modified all relevant parts, but I might have missed
> > some parts. If you find anything not working well, let me know.
>
> If I understand correctly, that means a user will specify "(hd,1)" to
> mean "the first partition on device 'hd'", where they used to specify
> "(hd,0)"?
Exactly.
> I'm very happy to see that; I agree with the decision. However, I was a
> bit surprised as well. I haven't been following grub-devel that closely
> recently, but I didn't see any proposal about it. Did I miss it?
Sorry, this has not been discussed here at all. Do you remember that we talked
about this on the irc? You mentioned that it would be better to use 1-based,
and Marco didn't have any objection, and I didn't, either.
Okuji
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-05 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 19:04 1-based partition numbering Yoshinori K. Okuji
2006-06-05 19:14 ` Hollis Blanchard
2006-06-05 19:53 ` Yoshinori K. Okuji
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.