2006-10-14 Robert Millan <rmh@aybabtu.com>

* util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev
	with "/dev/.static/dev/md".
This commit is contained in:
robertmh 2006-10-14 21:51:37 +00:00
parent df247e5e4b
commit a1bb27e4fd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-10-14 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev
with "/dev/.static/dev/md".
2006-10-14 Yoshinori K. Okuji <okuji@enbug.org> 2006-10-14 Yoshinori K. Okuji <okuji@enbug.org>
* util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of * util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of

View file

@ -234,7 +234,7 @@ grub_guess_root_device (const char *dir)
return grub_dev; return grub_dev;
} }
if (!strncmp (os_dev, "/dev/md", 7) || !strncmp (os_dev, "/dev/.static/dev/md", 19)) if (!strncmp (os_dev, "/dev/md", 7))
{ {
char *p, *grub_dev = xmalloc (8); char *p, *grub_dev = xmalloc (8);