From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] nested partitions
Date: Sun, 24 Jan 2010 18:38:40 -0600 [thread overview]
Message-ID: <4B5CE810.7060407@gmail.com> (raw)
In-Reply-To: <20100124204118.GA10054@thorin>
Robert Millan wrote:
> On Fri, Jan 22, 2010 at 07:03:21PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> Partition types are easily screwed. Why not just check for the presence
>> of the label?
>
> I have a feeling I already explained this somewhere. Doesn't seem to be in
> this thread, maybe on IRC? Anyway, it won't hurt to ellaborate on it...
>
> First of all, the whole label type proliferation problem is inherently
> impossible to resolve by technical means. Labels overlap each other,
> they can coexist without any garantee that the user expects them to be
> there at all or include meaningful data.
There is a fairly long thread at util-linux-ng that discusses this
problem in the context of very slow and very small devices. It starts
approximately at
http://marc.info/?l=util-linux-ng&m=126353611105795&w=2
The ultimate solution was to not search for multiple partition type
signatures on small devices.
> You *can't* reliably check for any partition label.
...
> So instead of supporting things like:
>
> (hd0,1)
> (hd0,2)
>
> (ambigous; what does this mean in an hybrid MSDOS/GPT ? What about other
> hybrid schemes? GRUB can't tell!)
>
> ... we could support:
>
> (hd0,msdos1)
> (hd0,gpt1)
> (hd0,msdos2)
> (hd0,gpt2)
>
> whose meaning is pretty clear. Then the user can nest as much as they like,
> but they will also have to deal with the problem of identifiing the labels.
I like this idea, but wonder if it would be useful to have something
like (grub drive, partition type, filesystem type) for each partition to
consider. For example:
(hd0,gpt1,ext2)
> Minix: (hd0,msdos1,msdos1)
>
> Solaris: (hd0,msdos2,sun1)
>
> *BSD: (hd0,msdos3,bsd1)
> With this approach, the burden is no longer in GRUB. Then I don't care
> how weird disk layouts can become, because GRUB doesn't have to probe
> them. We can even support things like this if it makes users happy:
>
> (hd0,bsd2,msdos1,sun1,apple4,msdos1)
Can you translate that. I don't understand.
-- Bruce
next prev parent reply other threads:[~2010-01-25 0:38 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 15:51 [PATCH] nested partitions Vladimir 'phcoder' Serbinenko
2009-07-16 20:52 ` Vladimir 'phcoder' Serbinenko
2009-07-31 7:58 ` Marco Gerards
2009-07-31 9:39 ` Vladimir 'phcoder' Serbinenko
2009-07-31 19:48 ` Vladimir 'phcoder' Serbinenko
2009-07-31 20:25 ` Vladimir 'phcoder' Serbinenko
2009-08-02 22:17 ` Robert Millan
2009-08-02 22:36 ` Vladimir 'phcoder' Serbinenko
2009-08-02 22:02 ` Robert Millan
2009-08-02 22:09 ` Vladimir 'phcoder' Serbinenko
2009-08-02 22:25 ` Robert Millan
2009-08-02 22:44 ` Vladimir 'phcoder' Serbinenko
2009-08-04 20:15 ` Robert Millan
2009-08-17 13:00 ` Vladimir 'phcoder' Serbinenko
2009-08-17 14:06 ` Robert Millan
2009-08-17 14:34 ` Vladimir 'phcoder' Serbinenko
2009-08-23 22:57 ` Vladimir 'phcoder' Serbinenko
2009-08-24 13:39 ` Vladimir 'phcoder' Serbinenko
2009-08-25 20:14 ` Vladimir 'phcoder' Serbinenko
2009-08-25 23:07 ` Robert Millan
2009-08-25 23:13 ` Vladimir 'phcoder' Serbinenko
2009-08-26 0:50 ` Robert Millan
2009-08-25 20:35 ` Seth Goldberg
2009-08-25 21:12 ` Vladimir 'phcoder' Serbinenko
2010-01-22 16:53 ` Robert Millan
2010-01-22 18:03 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-01-24 20:41 ` Robert Millan
2010-01-24 21:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-01-25 7:23 ` Robert Millan
2010-01-25 0:38 ` Bruce Dubbs [this message]
2010-01-25 4:56 ` Michal Suchanek
2010-01-25 7:31 ` Robert Millan
2010-01-25 7:52 ` Robert Millan
2010-01-25 8:25 ` Grégoire Sutre
2010-01-22 18:43 ` Seth Goldberg
2010-01-24 20:44 ` 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=4B5CE810.7060407@gmail.com \
--to=bruce.dubbs@gmail.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.