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:
parent
3a613259b5
commit
7f26d4665b
2 changed files with 11 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list
|
||||
|
|
|
@ -235,6 +235,9 @@ probe (const char *path, char *device_name)
|
|||
|
||||
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;
|
||||
|
||||
stat (path, &st);
|
||||
|
@ -258,6 +261,8 @@ probe (const char *path, char *device_name)
|
|||
if (memcmp (filebuf_via_grub, filebuf_via_sys, file->size))
|
||||
grub_util_error ("files differ");
|
||||
}
|
||||
#endif
|
||||
|
||||
printf ("%s\n", fs->name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue