On 4/8/07, Gerhard Ramsebner <[EMAIL PROTECTED]> wrote:
>
> Let's assume I do not want udev to load certain kernel modules
> automatically. Is there a rule to exclude devices or a subsytem?
> I would be glad if someone could just drop a simple example.

Sort of. You can have udev ignore certain uevents with
OPTIONS="ignore_device". We do this with dev-mapper devices since the
device creation/removal is handled in userspace.

KERNEL=="dm-*",             OPTIONS+="ignore_device"
KERNEL=="device-mapper",    OPTIONS+="ignore_device"

In general, though, to disable kernel modules from being loaded, you
want to add a blacklist entry to modprobe.conf.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to