From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Sat, 29 Dec 2001 04:38:53 +0000 Subject: Re: Is there a bug in hotplug.functions w/ ${TYPE}.usermap? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, 29 Dec 2001 03:37:22 +0200, Stamatis Mitrofanis wrote: >Firstly, that `find' line is checking that belongs in modprobe. It's >modprobe's job to see if a (abstract) "driver" is available. modprobe >has aliases, null/none drivers etc. so it's high-level. modprobe -n foo 2>/dev/null and test the return code. 0 means it found the module, including checking aliases, extra paths etc. You also get 0 if the module is already loaded but that is not a problem. _______________________________________________ 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