From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luca T." Date: Tue, 09 Mar 2004 22:12:54 +0000 Subject: Re: usb-storage Message-Id: <404E4166.9040504@libero.it> 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 Ok, as Greg suggested the script is fired only the first time an usb-disk is plugged in. I verified this by unloading the usb-storage kernel module and then plugging in an usb-disk. The script has been executed correctly. Now, i need a way to detect when an usb-disk is plugged in and out, not only the first time, but everytime this happens. I noticed that not only the usb-storage module isn't unloaded when the usb-disk is removed but it also leaves the device-file (for instance /dev/sda). So i have no way to know when the disk is removed :( Any idea that could help me? Thank you again, Luca ------------------------------------------------------- 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