On Friday 22 September 2006 18:33, Robert Millan wrote: > This would be very useful to get rid of ugly kludges in Debian, such as > this one: > > http://svn.debian.org/wsvn/pkg-grub/grub2/trunk/debian/update-grub?op=file& >rev=0&sc=0 (look for convert() here) > > Fortunately grub-probefs is already doing what we need, we just need a way > to tell it to print the information.
However, this usage is against the original meaning, thus the naming is not appropriate any longer. In addition, I don't like that we make an ad-hoc text output (the first line is a fs module name, the second line is a root device name, etc.). So I propose that we rename the utility to "grub-probe" and add some options to change the target of grub-probe. The default should be probing a fs to help people who are used to grub-probefs. Here is an example: $ grub-probe --target=fs ufs $ grub-probe ufs $ grub-probe --target=drive (hd0,1) $ grub-probe --target=device /dev/hda1 What do you think? Okuji _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel