Re: [ANNOUNCE] hotplug-ng 002 release

From: Michael Tokarev
Date: Sat May 14 2005 - 18:04:14 EST


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

Speaking of which.. may I suggest this:

if [ ! -L /sys/$DEVPATH/driver ]; then
modprobe $MODALIAS
fi

instead? Hopefully, thanks to previous patches in this area, the sysfs
directory has already been populated properly at a time of the hotplug
event, right?

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