On Tue, Aug 12, 2008 at 07:49:19PM +0800, Bean wrote:
> 
> Ok, I make some adjustment, now grub-install & update-grub works for
> raid device.
> [...]
> --- a/util/grub-probe.c
> +++ b/util/grub-probe.c
> @@ -142,7 +142,7 @@ probe (const char *path, char *device_name)
>         abstraction_name = "lvm";
>         break;
>       case GRUB_DEV_ABSTRACTION_RAID:
> -       abstraction_name = "raid";
> +       abstraction_name = "raid mdraid";

Should be fine, I think.

> -         buf += read_size;
> +         buf += read_size << GRUB_DISK_SECTOR_BITS;

Felix told me this fixes a problem in current RAID code;  when you check
your code in, please consider including this bugfix in a separate commit.
This makes it easier to track things.

Thanks!

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to