[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub2: partition counting should be the same as device counting
From: |
Robert Millan |
Subject: |
Re: Grub2: partition counting should be the same as device counting |
Date: |
Tue, 8 Sep 2009 14:56:05 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Sep 07, 2009 at 02:49:40PM +0200, Pjotr wrote:
> In Grub2, partition counting starts at 1. However, device counting
> starts at 0 (the old method). This difference is very unfortunate and will
> cause needless confusion....
We do this for consistency with the other implementations (Linux, *BSD,
the Hurd...).
> I hope you will want to reconsider this matter....
Other than that, it's just bikesheding. Since changing those breaks backward
compatibility, chances are we wouldn't do it untill GRUB 3, even if we
wanted to.
> may also cause bugs in peripheral software later on. Software
> developers may not always be sufficiently aware of this mixed counting
> method.
They shouldn't rely on GRUB's internal device representation in first
place. E.g. people writing grub.d snippets should be using
prepare_grub_to_access_device() instead.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."