Re: [ANNOUNCE] hotplug-ng 002 release

Greg KH
2005-05-09T23:27:29Z

On Mon, May 09, 2005 at 12:52:02AM +0200, Per Liden wrote:
> On Fri, 6 May 2005, Greg KH wrote:
>
> [...]
> > Now, with the 2.6.12-rc3 kernel, and a patch for module-init-tools, the
> > USB hotplug program can be written with a simple one line shell script:
> > modprobe $MODALIAS
>
> Nice, but why not just convert all this to a call to
> request_module($MODALIAS)? Seems to me like the natural thing to do.

Because that's not the only thing that the hotplug event causes to
happen. It's easier to have userspace decide what to do with this
instead.

> [...]
> > Oh, and the upstream module-init-tools maintainer needs to accept that
> > patch one of these days...
>
> Where can this patch be found?

Just sent it to this same thread.

thanks,

greg k-h