From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: davem@davemloft.net
Subject: Re: patch to replace (UUID=) hack
Date: Fri, 25 Sep 2009 16:32:47 +0200 [thread overview]
Message-ID: <4ABCD48F.3000409@gmail.com> (raw)
In-Reply-To: <20090925141403.GA6401@thorin>
Robert Millan wrote:
> On Fri, Sep 25, 2009 at 01:31:54PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>
>> Robert Millan wrote:
>>
>>> On Tue, Sep 22, 2009 at 09:56:07AM +0200, Vladimir 'phcoder' Serbinenko wrote:
>>>
>>>
>>>> Try attached WIP patch
>>>>
>>>>
>>> Excellent. This was quite necessary. I have to admit my (UUID=) kludge was
>>> a really poor solution (although in that time, the alternatives weren't
>>> so straightforwarded).
>>>
>>> I'm inclined to allow this for inclusion in 1.97, since it fixes a problem
>>> that could be seen as a bug (the overhead can be huge, specially in slow
>>> setups).
>>>
>>>
>>>
>> This patch isn't ready yet. grub-install has to be fixed for
>> grub-install for sparc64 too but I have no possibility to test it on
>> sparc64. I haven't tested it on multi-drive config on x86 yet.
>>
>
> This code duplication is problematic. Would be nice to have those two
> files unified in long term :-/
>
>
I'm not sure about this. This code deals with sparc-specific stuff and
if it's unified with i386-pc it may tend to be broken. But I can't make
any definite statement since I'm not familiar with sparc64. CC'ing David
Miller.
>>>> - prefix_drive="(UUID=${uuid})"
>>>> - modules="$modules fs_uuid"
>>>> + config="search_fs_uuid ${uuid} root"
>>>> + modules="$modules search_fs_uuid"
>>>>
>>>>
>>> Note we don't need to explicitly include "root" there. This would save 5
>>> bytes, and make the behaviour a bit more consistent (since root is
>>> implicit afterwards).
>>>
>>>
>> If "root" is omitted the found filename is printed on console
>>
>
> I guess that's because -s wasn't used?
>
>
Yes. Using options would drag extcmd.mod without real need (for normal
mode "search" with old syntax is still available)
prev parent reply other threads:[~2009-09-25 14:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4ab7a42f.8353f10a.25a9.4896SMTPIN_ADDED@mx.google.com>
2009-09-22 3:17 ` Current Grub2 & problem with /boot on different drive Dean Loros
2009-09-22 7:56 ` Vladimir 'phcoder' Serbinenko
2009-09-24 12:02 ` patch to replace (UUID=) hack Robert Millan
2009-09-25 11:31 ` Vladimir 'phcoder' Serbinenko
2009-09-25 14:14 ` Robert Millan
2009-09-25 14:32 ` Vladimir 'phcoder' Serbinenko [this message]
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=4ABCD48F.3000409@gmail.com \
--to=phcoder@gmail.com \
--cc=davem@davemloft.net \
--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.