[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] register dummy drive
From: |
Robert Millan |
Subject: |
Re: [PATCH] register dummy drive |
Date: |
Tue, 3 Jun 2008 23:12:57 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Mon, Jun 02, 2008 at 10:11:50AM -0400, Pavel Roskin wrote:
> On Mon, 2008-06-02 at 15:50 +0200, Robert Millan wrote:
> > There's no reason grub-probe should fail if it can't resolve drive, when we
> > just asked for -t fs, -t fs_uuid or -t partmap.
> >
> > 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.
>
> Cannot hostfs be used by default for all userspace utilities?
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.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
Re: [PATCH] register dummy drive, Robert Millan, 2008/06/02