From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] register dummy drive
Date: Wed, 04 Jun 2008 12:41:14 -0400 [thread overview]
Message-ID: <1212597674.15804.2.camel@dv> (raw)
In-Reply-To: <20080604120757.GA23648@thorin>
On Wed, 2008-06-04 at 14:07 +0200, Robert Millan wrote:
> On Tue, Jun 03, 2008 at 06:03:51PM -0400, Pavel Roskin wrote:
> > > > >
> > > > > This patch solves the problem by spliting device/drive map[] entry registration
> > > > > into a separate function, and using that from grub-probe.c to register a dummy
> > > > > drive that will last during the current execution.
> > >
> > > Part of what makes grub-probe interesting is that it shares a lot of code with
> > > the freestanding GRUB you will run later, so when it is used during
> > > grub-install & update-grub, it is very useful to catch possible problems. I
> > > think hostfs would defeat that purpose.
> >
> > Well, then we probably don't want to ignore any errors. When do you
> > have the situation that the drive cannot be resolved?
>
> For example, when the next version of Linux decides to rename all devices (it
> tends to do that often) and suddenly none of them match any device.map entry.
>
> The thing is, for what we're trying to do (-t fs, -t fs_uuid, -t partmap) we
> don't care how will GRUB identify those devices when it's running on the BIOS,
> so just any string that uniquely identifies them will be enough so we can
> run our filesystem / partmap probes.
OK, then the "dummy drive" is not really dummy. Those in device.map are
dummy :-)
I'm basically fine with anything that gets rid on device.map at least
for single-drive installs.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2008-06-04 16:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 13:50 [PATCH] register dummy drive Robert Millan
2008-06-02 14:11 ` Pavel Roskin
2008-06-03 21:12 ` Robert Millan
2008-06-03 22:03 ` Pavel Roskin
2008-06-04 12:07 ` Robert Millan
2008-06-04 16:41 ` Pavel Roskin [this message]
2008-06-02 14:12 ` 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=1212597674.15804.2.camel@dv \
--to=proski@gnu.org \
--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.