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

From: Greg KH
Date: Mon Jul 04 2011 - 11:29:54 EST


On Mon, Jul 04, 2011 at 02:26:21PM +0930, Rusty Russell wrote:
> On Fri, 1 Jul 2011 14:14:49 -0700, Greg KH <greg@xxxxxxxxx> wrote:
> > 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?
>
> Yep, done.

Wonderful, thanks.
--
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/