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

* util/grub-probe.c (probe): Comment out buggy codepath, which
        was unexpectedly enabled by Colin Watson's 2009-09-02 fix.  This
        should be re-enabled after 1.97.
This commit is contained in:
robertmh 2009-09-05 20:36:49 +00:00
parent 3a613259b5
commit 7f26d4665b
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2009-09-05 Robert Millan <rmh.grub@aybabtu.com>
* util/grub-probe.c (probe): Comment out buggy codepath, which
was unexpectedly enabled by Colin Watson's 2009-09-02 fix. This
should be re-enabled after 1.97.
2009-09-05 Felix Zielcke <fzielcke@z-51.de> 2009-09-05 Felix Zielcke <fzielcke@z-51.de>
* gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list * gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list

View file

@ -235,6 +235,9 @@ probe (const char *path, char *device_name)
if (print == PRINT_FS) if (print == PRINT_FS)
{ {
/* FIXME: `path' can't be used to read a file via GRUB facilities,
because it's not relative to its root. */
#if 0
struct stat st; struct stat st;
stat (path, &st); stat (path, &st);
@ -258,6 +261,8 @@ probe (const char *path, char *device_name)
if (memcmp (filebuf_via_grub, filebuf_via_sys, file->size)) if (memcmp (filebuf_via_grub, filebuf_via_sys, file->size))
grub_util_error ("files differ"); grub_util_error ("files differ");
} }
#endif
printf ("%s\n", fs->name); printf ("%s\n", fs->name);
} }