From: Kay Sievers Date: Fri, 2 Feb 2007 15:39:12 +0000 (+0100) Subject: Driver core: let request_module() send a /sys/modules/kmod/-uevent X-Git-Tag: v2.6.21-rc1~81^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c353c3fb0700a3c17ea2b0237710a184232ccd7f;p=pandora-kernel.git Driver core: let request_module() send a /sys/modules/kmod/-uevent On recent systems, calls to /sbin/modprobe are handled by udev depending on the kind of device the kernel has discovered. This patch creates an uevent for the kernels internal request_module(), to let udev take control over the request, instead of forking the binary directly by the kernel. The direct execution of /sbin/modprobe can be disabled by setting: /sys/module/kmod/mod_request_helper (/proc/sys/kernel/modprobe) to an empty string, the same way /proc/sys/kernel/hotplug is disabled on an udev system. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed