grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent decompression with file system filter


From: Bean
Subject: Re: Transparent decompression with file system filter
Date: Thu, 3 Jan 2008 16:49:24 +0800

On Jan 3, 2008 7:19 AM, Yoshinori K. Okuji <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]