From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 09 Mar 2004 19:46:35 +0000 Subject: Re: usb-storage Message-Id: <20040309194635.GA7811@kroah.com> 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 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 ------------------------------------------------------- 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