* grub-core/disk/diskfilter.c (grub_diskfilter_print_partmap)
[GRUB_UTIL]: New function. (insert_array) [GRUB_UTIL]: Store partmaps. * include/grub/diskfilter.h (grub_diskfilter_pv) [GRUB_UTIL]: New member partmaps. (grub_diskfilter_print_partmap) [GRUB_UTIL]: New proto. * util/grub-probe.c (probe_partmap): Call grub_diskfilter_print_partmap. (probe_abstraction): Print diskfilter and not raid. Reported by: Lennart Sorensen
This commit is contained in:
parent
0b6225bd27
commit
4786a90fee
4 changed files with 52 additions and 1 deletions
|
@ -87,6 +87,9 @@ probe_partmap (grub_disk_t disk)
|
|||
for (part = disk->partition; part; part = part->parent)
|
||||
printf ("%s ", part->partmap->name);
|
||||
|
||||
if (disk->dev->id == GRUB_DISK_DEVICE_DISKFILTER_ID)
|
||||
grub_diskfilter_print_partmap (disk);
|
||||
|
||||
/* In case of LVM/RAID, check the member devices as well. */
|
||||
if (disk->dev->memberlist)
|
||||
{
|
||||
|
@ -304,7 +307,7 @@ probe_abstraction (grub_disk_t disk)
|
|||
raid_level = probe_raid_level (disk);
|
||||
if (raid_level >= 0)
|
||||
{
|
||||
printf ("raid ");
|
||||
printf ("diskfilter ");
|
||||
if (disk->dev->raidname)
|
||||
printf ("%s ", disk->dev->raidname (disk));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue