Hi, I've just written a patch for this feature. In order to enable gzip support, you just need to load the gzio module, then grub_file_open will handle gz file just like they're not compressed. If you don't want auto decompression, use grub_file_open_raw instead of grub_file_open. You can also disable auto decompression by setting nocomp=1.
btw, the current cvs code seems to have problem, i can't access partition from hd! but i'm able to test this feature using (host) in grub-emu. -- Bean
grub2-fshook.diff
Description: Binary data
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel