[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] grub-probefs --root-device
From: |
Robert Millan |
Subject: |
Re: [PATCH] grub-probefs --root-device |
Date: |
Fri, 22 Sep 2006 23:12:23 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Fri, Sep 22, 2006 at 06:33:13PM +0200, Robert Millan wrote:
>
> This would be very useful to get rid of ugly kludges in Debian, such as this
> one:
>
> http://svn.debian.org/wsvn/pkg-grub/grub2/trunk/debian/update-grub?op=file&rev=0&sc=0
> (look for convert() here)
>
> Fortunately grub-probefs is already doing what we need, we just need a way to
> tell it to print the information.
Uhm it seems I need the system device name as well. Please look at this new
patch with an additional option (I had to rework the grub_guess_root_device
interface to get the info yet unprocessed by grub_util_biosdisk_get_grub_dev).
2006-09-22 Robert Millan <address@hidden>
* util/i386/pc/getroot.c (grub_guess_root_device): Stop using
grub_util_biosdisk_get_grub_dev to convert system device to GRUB device.
* util/grub-emu.c: Use grub_util_biosdisk_get_grub_dev with the string
returned by grub_guess_root_device.
* util/i386/pc/grub-setup.c: Ditto.
* util/i386/pc/grub-probefs.c: Ditto.
* util/i386/pc/grub-probefs.c: Add two options (--grub-root-device and
--root-device) to print GRUB or system device and exit.
--
Robert Millan
My spam trap is address@hidden Note: this address is only intended for
spam harvesters. Writing to it will get you added to my black list.
print_paths.diff
Description: Text document
- [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/22
- Re: [PATCH] grub-probefs --root-device,
Robert Millan <=
- Re: [PATCH] grub-probefs --root-device, Yoshinori K. Okuji, 2006/09/22
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/23
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/23
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/25
- grub 2 on debian amd64, Colin Lamarre, 2006/09/25
- Re: grub 2 on debian amd64, Hollis Blanchard, 2006/09/25
- Re: grub 2 on debian amd64, Robert Millan, 2006/09/26
- Re: [PATCH] grub-probefs --root-device, Vesa Jääskeläinen, 2006/09/26
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/28