* docs/grub.texi (Device syntax): Document new LVM UUID based device
names; fix LVM driver name (lvm, not lv). * util/grub-probe.c (probe_abstraction): Support lvmid/xxx device names.
This commit is contained in:
parent
3ff4063dd3
commit
775b284dd6
3 changed files with 14 additions and 4 deletions
|
@ -292,7 +292,8 @@ probe_abstraction (grub_disk_t disk)
|
|||
}
|
||||
|
||||
if (disk->dev->id == GRUB_DISK_DEVICE_DISKFILTER_ID
|
||||
&& grub_memcmp (disk->name, "lvm/", sizeof ("lvm/") - 1) == 0)
|
||||
&& (grub_memcmp (disk->name, "lvm/", sizeof ("lvm/") - 1) == 0 ||
|
||||
grub_memcmp (disk->name, "lvmid/", sizeof ("lvmid/") - 1) == 0))
|
||||
printf ("lvm ");
|
||||
|
||||
if (disk->dev->id == GRUB_DISK_DEVICE_DISKFILTER_ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue