Re: [ANNOUNCE] hotplug-ng 002 release

Greg KH
2005-05-10T22:42:13Z

On Mon, May 09, 2005 at 11:13:24PM +0200, Per Svennerbrandt wrote:
>
> Along with it I also have a patch witch exports the module aliases for
> PCI and USB devices through sysfs. With it the "coldplugging" of a
> system (module wise) can be reduced to pretty much:

I'd like to see this, that should be acceptable to add to the kernel.

> #!/bin/sh
>
> for DEV in /sys/bus/{pci,usb}/devices/*; do
> modprobe `cat $DEV/modalias`
> done

Yes, very nice :)

thaks,

greg k-h