grub-devel
[Top][All Lists]
Advanced

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

Re: Bug#461442: detection of other OSes in update-grub


From: Robert Millan
Subject: Re: Bug#461442: detection of other OSes in update-grub
Date: Wed, 30 Jan 2008 20:48:54 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jan 30, 2008 at 11:41:59AM +0100, Fabian Greffrath wrote:
> >
> >This implies that we'll have to support 6 different kinds of conversions
> >between path, drive and device, some of which might even be impossible.
> >
> >Besides, perhaps it'd be cleaner to split this conversion to a separate
> >tool, so that grub-probe only operates on devices, and the other tool
> >converts paths to devices (but NOT necessarily devices to paths!).

Actually, this can't work now.  After I added a sanity check (sorry, this
was necessary) to verify file reading work properly, everything is more
intermangled.

I'm not sure what would be the right approach.  Perhaps a flag in grub-probe
that means "please skip grub_guess_root_device, argument is a device, not a
path!" ?  This will let the sanity check know when it can't tell which file
you want to read.

Or perhaps something more radical that splits everything in different layers
(of exposed user commands) ?  But that could clutter the user with so many
commands.

Suggestions?

> How about this proposal:
> 
> $ grub-convert
> Usage: grub-convert [-d|-g] [DEVICE|DRIVE]

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

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