[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:
>   (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.

Attachment: print_paths.diff
Description: Text document

reply via email to

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