Re: [PATCH] Linux I2O devices

2006-09-21 Thread Robert Millan
On Thu, Sep 21, 2006 at 03:59:29AM +0200, Yoshinori K. Okuji wrote: > On Sunday 17 September 2006 23:25, Robert Millan wrote: > > For I2O we have /dev/i2o/hd[a-z][0-9]. There's also a big family of device > > sets using this scheme (/dev/*/hd[a-z][0-9]). Unless the second "if" can > > be made the

Re: [PATCH] Linux I2O devices

2006-09-21 Thread Robert Millan
On Thu, Sep 21, 2006 at 03:57:45AM +0200, Yoshinori K. Okuji wrote: > On Sunday 17 September 2006 23:08, Robert Millan wrote: > > Support for Linux I2O devices (imported from GRUB Legacy). > > > > 2006-09-17 Robert Millan <[EMAIL PROTECTED]> > > > > Import from GRUB Legacy (lib/device.c): > >

Re: [PATCH] Linux I2O devices

2006-09-20 Thread Yoshinori K. Okuji
On Sunday 17 September 2006 23:25, Robert Millan wrote: > For I2O we have /dev/i2o/hd[a-z][0-9]. There's also a big family of device > sets using this scheme (/dev/*/hd[a-z][0-9]). Unless the second "if" can > be made the default option, we'll have to add knowledge of every of these > device path

Re: [PATCH] Linux I2O devices

2006-09-20 Thread Yoshinori K. Okuji
On Sunday 17 September 2006 23:08, Robert Millan wrote: > Support for Linux I2O devices (imported from GRUB Legacy). > > 2006-09-17 Robert Millan <[EMAIL PROTECTED]> > > Import from GRUB Legacy (lib/device.c): > * util/i386/pc/grub-mkdevicemap.c (get_i2o_disk_name): New function. >

Re: [PATCH] Linux I2O devices

2006-09-17 Thread Robert Millan
I overlooked that biosdisk.c seems to be doing more specific checks on the pathname now. if (have_devfs () && strcmp (real_dev + len - 5, "/disc") == 0) { p = real_dev + len - 4; format = "part%d"; } else if ((strncmp (real_dev + 5, "hd", 2) == 0 || strncmp (re

[PATCH] Linux I2O devices

2006-09-17 Thread Robert Millan
Support for Linux I2O devices (imported from GRUB Legacy). 2006-09-17 Robert Millan <[EMAIL PROTECTED]> Import from GRUB Legacy (lib/device.c): * util/i386/pc/grub-mkdevicemap.c (get_i2o_disk_name): New function. (init_device_map) [__linux__]: Add support for I2O device