--- Robert Millan <[EMAIL PROTECTED]> wrote:
> If I understood correctly, the GRUB shell relies on device.map to translate
> BIOS devices into kernel device files, and uses standard Un*x calls on /dev
> to access the devices. Is that it?

Exactly. Also, the grub shell creates a new device map file "by guessing" if
the file is not found.

> I believe a good solution could be to fix kernels to forward requests on
> ioctl too, if that fixes the problem.

I don't think the problem is so complicated. I believe that the problem is just
that the script grub-install cannot identify, say, /dev/sda as 
/dev/scsi/host0/bus0/target0/lun0. It is not related to ioctl or any other
system call (note: the grub shell never specify O_NOFOLLOW when opening device
files).

See the function "convert" in grub-install. It greps a device map file to
detect an OS device corresponding to a BIOS drive. Consider what happens in the
case that the OS device is a symlink.

Okuji


_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to