autoloading sg driver during boot

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

 



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.

--
Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


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

  Powered by Linux