Robert Millan wrote:
...
Note that make_system_path_relative_to_its_root() actually exists :-/
Sorry, I didn't search update-grub_lib.in :-\
Apparently both grub_get_prefix() and
make_system_path_relative_to_its_root() use the same algorithm. Both do
not work on Cygwin due to special (multi- to single-root) mount point
handling.
It is desirable to have only one implementation for this non-trivial
function. A native C implementation is needed for grub-setup, therefore
"grub-probe -t prefix" makes sense for scripts.
If you provide an (obviously better) way to do the same thing, maybe you
could also get rid of the other one in your patch?
Yes.
Christian
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel