From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Date: Sat, 14 May 2005 23:02:50 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 002 release Message-Id: <4286839A.2090302@tls.msk.ru> List-Id: References: <20050506212227.GA24066@kroah.com> In-Reply-To: <20050506212227.GA24066@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org 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 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel