2009-06-09 Robert Millan <rmh.grub@aybabtu.com>

* util/deviceiter.c (grub_util_iterate_devices): Increase number of
        disk limit to 26 for IDE, Virtio, Xen and SCSI.
This commit is contained in:
robertmh 2009-06-09 14:42:37 +00:00
parent 8ec4a6d0e0
commit 87b8f28cc1
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2009-06-09 Robert Millan <rmh.grub@aybabtu.com>
* util/deviceiter.c (grub_util_iterate_devices): Increase number of
disk limit to 26 for IDE, Virtio, Xen and SCSI.
2009-06-09 Felix Zielcke <fzielcke@z-51.de> 2009-06-09 Felix Zielcke <fzielcke@z-51.de>
* util/i386/pc/grub-install.in: Change the error message if UUIDs * util/i386/pc/grub-install.in: Change the error message if UUIDs

View file

@ -454,7 +454,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
#endif /* __linux__ */ #endif /* __linux__ */
/* IDE disks. */ /* IDE disks. */
for (i = 0; i < 20; i++) for (i = 0; i < 26; i++)
{ {
char name[16]; char name[16];
@ -468,7 +468,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
#ifdef __linux__ #ifdef __linux__
/* Virtio disks. */ /* Virtio disks. */
for (i = 0; i < 20; i++) for (i = 0; i < 26; i++)
{ {
char name[16]; char name[16];
@ -494,7 +494,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
} }
/* Xen virtual block devices. */ /* Xen virtual block devices. */
for (i = 0; i < 16; i++) for (i = 0; i < 26; i++)
{ {
char name[16]; char name[16];
@ -508,7 +508,7 @@ grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
#endif /* __linux__ */ #endif /* __linux__ */
/* The rest is SCSI disks. */ /* The rest is SCSI disks. */
for (i = 0; i < 16; i++) for (i = 0; i < 26; i++)
{ {
char name[16]; char name[16];