Re: [PATCH] buffered file read

2008-07-29 Thread Colin D Bennett
On Wed, 30 Jul 2008 11:48:19 +0800 Bean <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 1:08 PM, Bean <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have added a buffer length parameter to grub_buffile_open: > > > ... > > If no one objects, I'd commit this patch soon. > Sounds good to me!

Re: [PATCH] buffered file read

2008-07-29 Thread Bean
On Mon, Jul 28, 2008 at 1:08 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > I have added a buffer length parameter to grub_buffile_open: > > grub_file_t grub_buffile_open (const char *name, int size); > > size < 0: Load the whole file. > size = 0: Use default buffer size (8192 bytes) > size > 0: Cus

[PATCH] show an error instead of segfaulting on grub-probe -t partmap on a unsynced raid

2008-07-29 Thread Felix Zielcke
#0 0x004015f9 in probe_partmap (disk=0x0) at /home/fz/grub/grub2-1.96+20080724/util/grub-probe.c:87 87 if (disk->partition == NULL) This is really a good way to get more into this coding and debugging C stuff in general and especially, into grub2's code. As far as I could find out

Re: [PATCH] grub-probe -t prefix, fix update-grub_lib for Cygwin

2008-07-29 Thread Christian Franke
Christian Franke wrote: Robert Millan wrote: On Sun, Jul 20, 2008 at 02:40:14PM +0200, Christian Franke wrote: The shell function make_system_path_relative_to_its_root() does not work on Cygwin due to path mapping (e.g. /boot/grub/ is actually /cygwin/boot/grub). This patch adds '-t prefix

Re: [PATCH] update-grub for Cygwin

2008-07-29 Thread Christian Franke
Robert Millan wrote: On Sun, Jul 27, 2008 at 02:09:02AM -0400, Pavel Roskin wrote: On Sat, 2008-07-26 at 14:53 +0200, Christian Franke wrote: Robert Millan wrote: On Thu, Jul 24, 2008 at 10:19:17PM +0200, Christian Franke wrote: + case "`uname 2>/dev/null`" in +

Re: GRUB has a problem with a big grub.cfg

2008-07-29 Thread Bean
On Mon, Jul 28, 2008 at 6:12 PM, Felix Zielcke <[EMAIL PROTECTED]> wrote: > GRUB 2 has a problem with many kernel entrys in grub.cfg > This works fine for me with grub-emu but not real GRUB > > I reproduced this now in qemu 0.9.1-5 from debian unstable > Attached is the floppy image i used and the