Re: [PATCH] Add host open devicename check

2007-11-17 Thread Robert Millan
On Sat, Nov 10, 2007 at 05:04:25PM +0100, Marco Gerards wrote: > > > > 2007-11-10 Christian Franke <[EMAIL PROTECTED]> > > > > * disk/host.c (grub_host_open): Remove attribute unused from > > name parameter. Add check for "host". This fixes the problem > > that grub-emu does not find

Re: [PATCH] Add host open devicename check

2007-11-10 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Fri, Nov 09, 2007 at 10:17:19PM +0100, Marco Gerards wrote: >> Robert Millan <[EMAIL PROTECTED]> writes: >> >> > On Thu, Oct 25, 2007 at 09:51:38PM +0200, Christian Franke wrote: >> >> static grub_err_t >> >> -grub_host_open (const char *name __attr

Re: [PATCH] Add host open devicename check

2007-11-10 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > Marco Gerards wrote: >>> .. >>> >>> 2007-10-25 Christian Franke <[EMAIL PROTECTED]> >>> >>> * disk/host.c (grub_host_open): Add check for "host". This fixes >>> the problem that grub-emu does not find partitions. >>> >> >> Please mention the

Re: [PATCH] Add host open devicename check

2007-11-10 Thread Christian Franke
Robert Millan wrote: On Fri, Nov 09, 2007 at 10:17:19PM +0100, Marco Gerards wrote: Robert Millan <[EMAIL PROTECTED]> writes: On Thu, Oct 25, 2007 at 09:51:38PM +0200, Christian Franke wrote: static grub_err_t -grub_host_open (const char *name __attribute((unused)), grub_disk_

Re: [PATCH] Add host open devicename check

2007-11-10 Thread Christian Franke
Marco Gerards wrote: .. 2007-10-25 Christian Franke <[EMAIL PROTECTED]> * disk/host.c (grub_host_open): Add check for "host". This fixes the problem that grub-emu does not find partitions. Please mention the attribute change. ... static grub_err_t -grub_host_open

Re: [PATCH] Add host open devicename check

2007-11-09 Thread Robert Millan
On Fri, Nov 09, 2007 at 10:17:19PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Thu, Oct 25, 2007 at 09:51:38PM +0200, Christian Franke wrote: > >> static grub_err_t > >> -grub_host_open (const char *name __attribute((unused)), grub_disk_t disk) > >> +grub_host

Re: [PATCH] Add host open devicename check

2007-11-09 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Thu, Oct 25, 2007 at 09:51:38PM +0200, Christian Franke wrote: >> static grub_err_t >> -grub_host_open (const char *name __attribute((unused)), grub_disk_t disk) >> +grub_host_open (const char *name, grub_disk_t disk) >> { >> + if (grub_strcmp(name

Re: [PATCH] Add host open devicename check

2007-11-09 Thread Robert Millan
On Thu, Oct 25, 2007 at 09:51:38PM +0200, Christian Franke wrote: > static grub_err_t > -grub_host_open (const char *name __attribute((unused)), grub_disk_t disk) > +grub_host_open (const char *name, grub_disk_t disk) > { > + if (grub_strcmp(name, "host")) > + return grub_error (GRUB_ERR_UN

Re: [PATCH] Add host open devicename check

2007-11-09 Thread Marco Gerards
Christian Franke <[EMAIL PROTECTED]> writes: > grub-emu ls command does not list any partitions. > > Device scan in grub_disk_open() stops early because grub_host_open() > returns success on all device names. > > Christian > > 2007-10-25 Christian Franke <[EMAIL PROTECTED]> > > * disk/host

[PATCH] Add host open devicename check

2007-10-25 Thread Christian Franke
grub-emu ls command does not list any partitions. Device scan in grub_disk_open() stops early because grub_host_open() returns success on all device names. Christian 2007-10-25 Christian Franke <[EMAIL PROTECTED]> * disk/host.c (grub_host_open): Add check for "host". This fixes