Denis Kostousov пишет:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
День добрый.
Очень давно не работал с дебианом :-)
Объясните, плз, как дебиан грузит модули и что нужно сделать, что-бы некоторые
модули не грузились.
Конкретнее: в компе есть звуковая подсистема, но мне не нужно ее стартовать.
Если я правильно понимаю, запуском всего в данном случае рулит udev.
Как ему сказать, что не нужно запускать некоторые устройства?
На выбор:
After the last update on my laptop (Debian Linux, sid) the /hotplug/
package has been purged, because the /udev/ package is providing the
hotplug scripts now.
Of cause all blacklisted modules from hotplug will be loaded now, which
may lead into troubles. For example, I am using /ifrename/ to rename my
network interfaces, but the module /eth1394/ - for networking over
firewire - screwed up my config, shuffling all the names of my network
interfaces.
Now, there are a few ways to prevent unwanted modules from loading:
* add an entry in /etc/modprobe.conf:
|blacklist modulename|
* create a file in /etc/modprobe.d/filename with following line:
|blacklist modulname|
* udev provides a file /etc/modprobe.d/blacklist which prevents the
listed modules from loading. I.e.
|blacklist modulename|
* /Debian specific:/ create a file /etc/hotplug/blacklist.d/filename
with the module name in it, in my case:
|eth1394|
--
С наилучшими,
Кирилл Шаталаев.
begin:vcard
fn:Kirill Shatalaev
n:Shatalaev;Kirill
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard