From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Sat, 29 Nov 2003 14:06:16 +0000 Subject: Re: Working on a usb-storage hotplug script 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 > > By looking in the usb and scsi nodes under /proc I decided that > > the only unique information between the two trees was the > > serial number. > Are you really sure that the serial is unique? If I remember > correctly the not all devices have serials set. They are not unique. And the assumption that one hotplug event correlates with one new device is false. There are multi-Lun devices and scsi-to-usb bridges. You may also connect a tape or other non disk device. > > I do have one further problem before I even start, which is > > that I don't seem to get a remove event when I disconnect a > > flash drive. Is this a known problem with my version of the > > kernel or of hotplug? > Same here. I think its a bug. But since its not 2.5/2.6-test > related nobody seems to care here :-( What kind of device do you disconnect? Regards Oliver ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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