Re: autoloading sg driver during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 13.04.2005 schrieb Aleksandar Milivojevic um 22:48:

> Probably something trivial, but can't seem to find solution (other than 
> placing "modprobe sg" in /etc/rc.local).
> 
> I attempted something like this in modprobe.conf:
> 
> alias char-major-21 sg
> 
> (and also char-major-21-* variant)
> 
> The problem is, there are no /dev/sg* entries in /dev when machine 
> boots.  They are created by udev when "sg" driver loads.  Chicken and 
> egg problem.  Kind of.  So the above lien in modprobe.conf does not 
> really work.
> 
> So....  the question is, is there any way to instruct udev to create 
> /dev/sg* nodes (so that applications can access it and trigger auto 
> loading of sg driver)?  Or instruct system to autoload sg module during 
> boot if there are any SCSI devices, which would trigger udev to create 
> /dev/sg* nodes?  Other than placing "modprobe sg" in /etc/rc.local.

Isn't the module (and all other SCSI modules you need) included in the
initial ramdisk image?
 
> Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 23:22:52 up 1 day, 20:03, load average: 0.85, 0.99, 0.91 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux