Re: [ANNOUNCE] hotplug-ng 002 release

From: Greg KH
Date: Tue May 10 2005 - 17:43:27 EST


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
-
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/