names.
Reported by: Bastian Blank.
+2012-05-03 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/getroot.c (convert_system_partition_to_system_disk); Add etherd
+ names.
+ Reported by: Bastian Blank.
+
2012-05-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/btrfs.c (grub_btrfs_lzo_decompress): Fix offset when
return path;
}
+ /* If this is an AOE disk. */
+ if (strncmp ("etherd/e", p, sizeof ("etherd/e") - 1) == 0)
+ {
+ /* /dev/etherd/e[0-9]+\.[0-9]+(p[0-9]+)? */
+ p = strchr (p, 'p');
+ if (p)
+ {
+ *is_part = 1;
+ *p = '\0';
+ }
+
+ return path;
+ }
+
/* If this is a Compaq Intelligent Drive Array. */
if (strncmp ("ida/c", p, sizeof ("ida/c") - 1) == 0)
{