grub-devel
[Top][All Lists]
Advanced

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

[PATCH] add support for dmraid devices


From: Felix Zielcke
Subject: [PATCH] add support for dmraid devices
Date: Wed, 17 Jun 2009 16:08:25 +0200

Here's a patch which let grub-probe work with /dev/mapper/nvidia_ dmraid
devices. The other ones that dmraid supports are for now just not
anymore treated as LVM but hostdisk.c doestn't yet support them.

The find_partition_by_uuid is needed, because on my dmraid the
HDIO_GETGEO ioctl returns just zeros for all fields. So there is no way
to get the start of the partition which the normal find_partition needs.
Currently it uses the output of blkid to get the UUID of the device and
then compares it with all grub devices like search --fs-uuid does.

BSD partitions aren't currently supported, but Vladimir wants to change
them so they're numbers instead of letters which would make it easier
for me.
-- 
Felix Zielcke

Attachment: dmraid.patch
Description: Text Data


reply via email to

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