Re: Transparent decompression with file system filter

2008-01-13 Thread Yoshinori K. Okuji
On Sunday 13 January 2008 21:16, Bean wrote: > > - If you want to support, for example, an ecrypted and compressed file, > > in the current implementation, each hook must try other hooks > > recursively. I believe that this should be done at grub_file_open_ex > > rather than at every hook. Is there

Re: Transparent decompression with file system filter

2008-01-13 Thread Bean
On Jan 14, 2008 3:51 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > On Sunday 13 January 2008 08:38, Bean wrote: > > Hi, > > > > any suggestion about this patch ? i would like to commit it soon. > > I am sorry that I forgot to reply. > > I would like to know how you intend to approach the foll

Re: Transparent decompression with file system filter

2008-01-13 Thread Yoshinori K. Okuji
On Sunday 13 January 2008 08:38, Bean wrote: > Hi, > > any suggestion about this patch ? i would like to commit it soon. I am sorry that I forgot to reply. I would like to know how you intend to approach the following issues: - If you want to support, for example, an ecrypted and compressed file

Re: Transparent decompression with file system filter

2008-01-12 Thread Bean
Hi, any suggestion about this patch ? i would like to commit it soon. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Transparent decompression with file system filter

2008-01-05 Thread Bean
On Jan 5, 2008 6:39 PM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > On Saturday 05 January 2008 07:30, Bean wrote: > > I'm thinking that compressed might not be the right word, as filter > > doesn't limit to decompression, it can support decryption or format > > conversion as well. I guess the

Re: Transparent decompression with file system filter

2008-01-05 Thread Yoshinori K. Okuji
On Saturday 05 January 2008 07:30, Bean wrote: > I'm thinking that compressed might not be the right word, as filter > doesn't limit to decompression, it can support decryption or format > conversion as well. I guess the name grub_file_open_ex may be better. > I also add a flag to the function, if

Re: Transparent decompression with file system filter

2008-01-04 Thread Bean
On Jan 5, 2008 9:29 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > On Thursday 03 January 2008 16:53, Vesa Jääskeläinen wrote: > > Bean wrote: > > > On Jan 3, 2008 7:19 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > > >> Please wait a minute. Personally, I don't want grub_file_open to > >

Re: Transparent decompression with file system filter

2008-01-04 Thread Yoshinori K. Okuji
On Thursday 03 January 2008 16:53, Vesa Jääskeläinen wrote: > Bean wrote: > > On Jan 3, 2008 7:19 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: > >> Please wait a minute. Personally, I don't want grub_file_open to > >> decompress a content automatically. The name should stand for what it > >> d

Re: Transparent decompression with file system filter

2008-01-03 Thread Vesa Jääskeläinen
Bean wrote: > On Jan 3, 2008 7:19 AM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote: >> 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 thi

Re: Transparent decompression with file system filter

2008-01-03 Thread Robert Millan
On Thu, Jan 03, 2008 at 08:53:19PM +0800, Bean wrote: > On Jan 3, 2008 7:35 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > > How does grub_zfile_open differ from grub_gzfile_open ? > > grub_gzfile_open only handle gzip file, while grub_zfile_open handle > compressed file in general. when module li

Re: Transparent decompression with file system filter

2008-01-03 Thread Bean
On Jan 3, 2008 7:35 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > How does grub_zfile_open differ from grub_gzfile_open ? grub_gzfile_open only handle gzip file, while grub_zfile_open handle compressed file in general. when module like gzio starts, it register a structure that grub_zfile_open wou

Re: Transparent decompression with file system filter

2008-01-03 Thread Robert Millan
On Thu, Jan 03, 2008 at 04:49:24PM +0800, Bean wrote: > 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_ro

Re: Transparent decompression with file system filter

2008-01-03 Thread Bean
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/

Re: Transparent decompression with file system filter

2008-01-02 Thread Yoshinori K. Okuji
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 t

Re: Transparent decompression with file system filter

2007-12-31 Thread Bean
On Jan 1, 2008 2:40 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Tue, Jan 01, 2008 at 12:59:57AM +0800, 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 > > ut

Re: Transparent decompression with file system filter

2007-12-31 Thread Robert Millan
On Tue, Jan 01, 2008 at 12:59:57AM +0800, 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

Re: Transparent decompression with file system filter

2007-12-31 Thread Bean
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. -- Bean grub2-fshook3.diff Description

Re: Transparent decompression with file system filter

2007-11-19 Thread Bean
Hi, On Nov 19, 2007 4:02 PM, Bean <[EMAIL PROTECTED]> wrote: > 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. Ok, i figure it out now, i need to add the biosdisk module to core.img, then it can acc

Re: Transparent decompression with file system filter

2007-11-19 Thread Bean
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 dis

Re: Transparent decompression with file system filter

2007-11-18 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Bean wrote: >> Hi, >> >>> Are you still interested in working on this? >> >> Yes, if you think this is an useful feature, I can start working on it. >> > > I am just wondering is there need to read compressed files without being > compressed? > >

Re: Transparent decompression with file system filter

2007-11-15 Thread Jan C. Kleinsorge
Vesa Jääskeläinen wrote: > Bean wrote: >> Hi, >> >>> Are you still interested in working on this? >> Yes, if you think this is an useful feature, I can start working on it. >> > > I am just wondering is there need to read compressed files without being > compressed? > > I like the idea that openi

Re: Transparent decompression with file system filter

2007-11-14 Thread Vesa Jääskeläinen
Bean wrote: > Hi, > >> Are you still interested in working on this? > > Yes, if you think this is an useful feature, I can start working on it. > I am just wondering is there need to read compressed files without being compressed? I like the idea that opening compressed file is in a separate f

Re: Transparent decompression with file system filter

2007-11-13 Thread Bean
Hi, > Are you still interested in working on this? Yes, if you think this is an useful feature, I can start working on it. -- Bean ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Transparent decompression with file system filter

2007-11-10 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: > Currently, grub2 support gziped file with the gzio module. To open a > gziped file, > you have to use a special function grub_gzfile_open, I think it could > be better if > grub_file_open could handle compressed file transparently. Are you still interested in wo