|
From: | Grégoire Sutre |
Subject: | Re: [PATCH] nested partitions |
Date: | Mon, 25 Jan 2010 09:25:44 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
Robert Millan wrote:
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)
I like this generic approach very much. And as you said, in non-straightforward disk layouts, the responsibility of finding the appropriate path to access a given partition is left to the user.
In all generality, the links between labels is a graph, for instance in your example above, the two occurrences of msdos1 could be the same partition. How does the probing code work regarding this? Does partition_iterate terminate if the graph has cycles?
Grégoire
[Prev in Thread] | Current Thread | [Next in Thread] |