[Top][All Lists]

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

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

From: Fabian Greffrath
Subject: Re: Bug#461442: detection of other OSes in update-grub
Date: Wed, 30 Jan 2008 11:41:59 +0100
User-agent: Thunderbird (Windows/20071031)

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!).

What does everyone think about this?

Yes, it is really necessary!

How about this proposal:

$ grub-convert
Usage: grub-convert [-d|-g] [DEVICE|DRIVE]

Convert back and forth between Linux devices and GRUB drives.

-d, --device=DEVICE convert DEVICE into a GRUB-drive [e.g. /dev/hda1 -> (hd0,1)] -g, --drive=DRIVE convert DRIVE into a Linux device [e.g. (hd0,1) -> /dev/hda1]
-h, --help                display this message and exit
-V, --version             print version information and exit


Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  address@hidden

reply via email to

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