mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
2008-06-16 Robert Millan <rmh@aybabtu.com>
* util/biosdisk.c (convert_system_partition_to_system_disk): Detect
I2O devices.
Patch from Sven Mueller <sven@debian.org>.
This commit is contained in:
1 parent
991477f8a7
commit
347396d87f
2 files changed
+14
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2008-06-16 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* util/biosdisk.c (convert_system_partition_to_system_disk): Detect
|
||||||
|
I2O devices.
|
||||||
|
Patch from Sven Mueller <sven@debian.org>.
|
||||||
|
|
||||||
2008-06-16 Robert Millan <rmh@aybabtu.com>
|
2008-06-16 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* util/update-grub.in: Check for $EUID instead of $UID.
|
* util/update-grub.in: Check for $EUID instead of $UID.
|
||||||
|
|||||||
@@ -657,6 +657,14 @@ convert_system_partition_to_system_disk (const char *os_dev)
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If this is an I2O disk. */
|
||||||
|
if (strncmp ("i2o/hd", p, sizeof ("i2o/hd") - 1) == 0)
|
||||||
|
{
|
||||||
|
/* /dev/i2o/hd[a-z]([0-9]+)? */
|
||||||
|
p[sizeof ("i2o/hda") - 1] = '\0';
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
/* If this is a MultiMediaCard (MMC). */
|
/* If this is a MultiMediaCard (MMC). */
|
||||||
if (strncmp ("mmcblk", p, sizeof ("mmcblk") - 1) == 0)
|
if (strncmp ("mmcblk", p, sizeof ("mmcblk") - 1) == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user