[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don`t understand error message
From: |
Yoshinori Okuji |
Subject: |
Re: Don`t understand error message |
Date: |
Sat, 4 Oct 2003 20:10:09 +0100 (BST) |
--- Robert Millan <address@hidden> 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
- Re: Don`t understand error message, (continued)
- Re: Don`t understand error message, Thierry Laronde, 2003/10/03
- Re: Don`t understand error message, Robert Millan, 2003/10/04
- Re: Don`t understand error message, Thierry Laronde, 2003/10/04
- Re: Don`t understand error message, Yoshinori Okuji, 2003/10/04
- Re: Don`t understand error message, Marco Gerards, 2003/10/04
- Re: Don`t understand error message, Yoshinori Okuji, 2003/10/06
- Re: Don`t understand error message, Robert Millan, 2003/10/04
Re: Don`t understand error message, Michael Gehm, 2003/10/03
Re: Don`t understand error message, Yoshinori Okuji, 2003/10/03