From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Mika_Penttil=E4?= Date: Wed, 10 Mar 2004 05:06:53 +0000 Subject: Re: usb-storage Message-Id: <404EA26D.70108@kolumbus.fi> List-Id: References: <404DFA8B.6080608@libero.it> In-Reply-To: <404DFA8B.6080608@libero.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Greg KH wrote: >On Tue, Mar 09, 2004 at 06:10:35PM +0100, Luca T. wrote: > > >>Hello, >>i would like to understand how hotplugging works, i did some experiments >>but without success. >>If i did understand well, when i connect an usb-disk the script >>/etc/hotplug/usb/usb-storage should be fired... but this doesn't seem to >>happen. >> >> > >What kernel are you using? > > > >>I put a line inside it ( echo "test" >/tmp/test ) but the file is never >>created when i plug or unplug my usb-disk. >>Why? >> >> > >On 2.4 that script would only be run when the driver is first loaded. >When the device is removed, the driver is never unloaded. > >thanks, > >greg k-h > > At least with recent hotplug packages user mode drivers are loaded even if kernel module is loaded or not, in 2.4 and 2.6. --Mika ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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