grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH,HURD] Fix grub-probe with userland partition support


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH,HURD] Fix grub-probe with userland partition support
Date: Wed, 25 Apr 2012 00:46:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

On 25.04.2012 00:39, Samuel Thibault wrote:
> Vladimir 'φ-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 00:31:26 +0200, a 
> écrit :
>> On 25.04.2012 00:21, Samuel Thibault wrote:
>>> Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 22:14:33 +0200, a 
>>> écrit :
>>>> On 24.04.2012 19:13, Samuel Thibault wrote:
>>>>> Vladimir 'φ-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 15:19:25 +0200, 
>>>>> a écrit :
>>>>>> On 24.04.2012 14:42, Samuel Thibault wrote:
>>>>>>>> I'm surprised that Hurd doesn't offer a way to just ask "What does this
>>>>>>>> filesystem translator consume?"
>>>>>>> A file can reside inside an iso file, which
>>>>>>> is stored in an ext2fs, which is stored in a file,
>>>>>> So much GRUB can handle.
>>>>> But how to express that to GRUB? grub_guess_root_devices only returns
>>>>> a series of alternative paths.  See below.
>>>> By just giving the file in question.
>>> That will not tell you which image has to be mounted to find it.
>> As I said: currently we assume that image is for VM use, so nothing
>> needs to be specifically mounted. Just return image filename.
> That would work with only one layer.  See my example above, it has
> several layers, and you'd have to know the image filename at each layer.
Right now we assume only one layer (VM use), more layers is for the future.
> I'm not saying that GRUB should implement all these layers.  I'm just
> explaining why the "what does this translator consume?" is not a trivial
> question at all in the Hurd, and thus does not have any interface for
> it, and we have to define one that would only work for the trivial
> cases.
We just need to traverse one layer: the FS, and only the case when it's
an FS.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]