Harald Schreiber wrote:
>
> Tom Berger <[EMAIL PROTECTED]> writes:
>
> > Harald Schreiber wrote:
> > >
> > > Tom Berger <[EMAIL PROTECTED]> writes:
> > >
[snip]
> [...]
>
> Hi Tom,
>
> to be honest I didn't think of this case in my previous mail
> at all and I don't understand it completely too.
>
> Obviously my statement that the entry
> alias scsi_hostadapter [module-name]
> is only needed by /sbin/mkinitrd is wrong.
>
> I have looked at the kernel sources and found this in line
> 3220-3224 of /usr/src/linux/drivers/scsi/scsi.c
> (kernel-2.2.29-27mdk)
>
> #ifdef CONFIG_KMOD
> if (scsi_hosts == NULL)
> request_module("scsi_hostadapter");
> #endif
>
> So I think if the kernel detects that it needs
> a driver for a SCSI hostadapter and no one is loaded
> it requests kmod to load a module "scsi_hostadapter".
>
> Then kmod looks up /etc/conf.modules for a line
> alias scsi_hostadapter [module]
> and if this line exits kmod loads [module].
>
> If you want to know this precisely you should ask
> Bjørn Ekwall <[EMAIL PROTECTED]> who is the expert
> for this.
>
> Regards
> Harald
Sounds reasonable enough to me ;-) I do find it odd that this isn't
documented somewhere, though.
Thanks a lot!
tom
>
> --
> -------------------------------------------------------------------
> Harald Schreiber, Nizzaalle 26, D-52072 Aachen, Germany
> Phone: +49-241-9108015, Email: [EMAIL PROTECTED]
> -------------------------------------------------------------------
--
"Never trust a Shoggoth!"
Thomas 'tom' Berger, [EMAIL PROTECTED]
LSTB - "advancing the community", [EMAIL PROTECTED]
UMS: +49-(0)89-1488-208756 fon: +49-(0)30-45809013