Hello, OKUJI!

> > grub> root hd0s3a 
> >  Device string unrecognizable
> > grub> root hd0s3a/
> >  Filesystem type is ffs, partition type 0x7a5
> 
>   ??? I think you must prepend "/dev", like "/dev/hd0s1a".

No. "/dev/" is skipped.
The code actually requires '/' after parsing the partition.

Absolutely untested patch:
=== cut here ===
--- disk_io.c   1999/09/23 01:02:27     1.13
+++ disk_io.c   1999/09/28 07:03:24
@@ -821,7 +821,7 @@
          current_partition = ((*(device ++) - 'a') << 8) | 0xFF00FF;
        }
 
-      if (*device == '/')
+      if (*device == '/' || *device == 0)
        {
          if (part_choice == PART_DISK)
            {
=== cut here ===

I don't have root access at work. I'll test it this night and send you
the ChangeLog entry.
Or just test and apply it now if you can.

>   The others you mentioned has been fixed, but the fixes has not been
> commited yet as I said in the previous mail.

Great!

Best wishes,
Pavel Roskin

Reply via email to