On Jan 3, 2008 7:19 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote:
>
> On Monday 31 December 2007 17:59, Bean wrote:
> > Hi,
> >
> > Changes in this new patch:
> >
> > 1, change function name grub_file_open_raw to grub_file_ropen
> > 2, replace grub_file_open in command/blocklist.c and
> > util/i386/pc/grub-setup.c to grub_file_ropen.
> >
> > If nobody objects, i would like to commit this in a few days.
>
> Please wait a minute. Personally, I don't want grub_file_open to decompress a
> content automatically. The name should stand for what it does. That was why I
> named grub_file_open and grub_gzfile_open like this. This was really one of
> what I didn't like in GRUB Legacy.
>
> If you want to have a function to open any kind of compressed file, please add
> something else (e.g. grub_compressed_file_open).

ok, i keep grub_file_open as it is, and add a new function
grub_zfile_open to handle compressed file. i also expand the list of
commands that use auto decompression:

ls
to get the uncompressed file size in long list

loopback
to open compressed image file

font
to open compressed font file.

-- 
Bean

Attachment: grub2-fshook4.diff
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to