Re: module: sysfs - add 'uevent' file to allow coldplug

From: Greg KH
Date: Fri Jul 01 2011 - 17:16:39 EST


On Sun, Jun 19, 2011 at 12:00:29AM +0200, Kay Sievers wrote:
> From: Kay Sievers <kay.sievers@xxxxxxxx>
> Subject: module: sysfs - add 'uevent' file to allow built-in coldplug
>
> Userspace wants to manage module parameters with udev rules.
> This currently only works for loaded modules, but not for
> built-in ones.
>
> To allow access to the built-in modules we need to
> re-trigger all module load events that happened before any
> userspace was running. We already do the same thing for all
> devices, subsystems(buses) and drivers.
>
> This adds the currently missing /sys/module/<name>/uevent files
> to all module entries.
>
> Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Rusty, are you going to take this in your tree?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/