2009-04-15 Felix Zielcke <fzielcke@z-51.de>

* disk/lvm.c (grub_lvm_scan_device): Add `LVM' to the error messages,
	that no multiple data or metadata areas are supported and `Unknown 
	metadata header'.
This commit is contained in:
fzielcke 2009-04-15 13:29:24 +00:00
parent 0d5d565326
commit 596c6970b8
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-04-15 Felix Zielcke <fzielcke@z-51.de>
* disk/lvm.c (grub_lvm_scan_device): Add `LVM' to the error messages,
that no multiple data or metadata areas are supported and `Unknown
metadata header'.
2009-04-15 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-15 Vladimir Serbinenko <phcoder@gmail.com>
Move loader out of the kernel Move loader out of the kernel

View file

@ -263,7 +263,7 @@ grub_lvm_scan_device (const char *name)
if (dlocn->offset) if (dlocn->offset)
{ {
grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"We don't support multiple data areas"); "We don't support multiple LVM data areas");
goto fail; goto fail;
} }
@ -276,7 +276,7 @@ grub_lvm_scan_device (const char *name)
if (dlocn->offset) if (dlocn->offset)
{ {
grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"We don't support multiple metadata areas"); "We don't support multiple LVM metadata areas");
goto fail; goto fail;
} }
@ -296,7 +296,7 @@ grub_lvm_scan_device (const char *name)
|| (grub_le_to_cpu32 (mdah->version) != GRUB_LVM_FMTT_VERSION)) || (grub_le_to_cpu32 (mdah->version) != GRUB_LVM_FMTT_VERSION))
{ {
grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
"Unknown metadata header"); "Unknown LVM metadata header");
goto fail2; goto fail2;
} }