What do you think of this? It worked very well for me when I just wanted to debug a problem with disk/raid.c.
Should we add the same to other util/ commands like grub-setup ? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.)
diff -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp ../grub2/util/grub-probe.c ./util/grub-probe.c --- ../grub2/util/grub-probe.c 2008-01-25 17:33:57.000000000 -0500 +++ ./util/grub-probe.c 2008-02-06 11:09:29.000000000 -0500 @@ -293,6 +286,9 @@ main (int argc, char *argv[]) } } + if (verbosity > 1) + grub_env_set ("debug", "all"); + /* Obtain PATH. */ if (optind >= argc) {
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel