On Friday 07 January 2005 00:54, Matthew Dharm wrote:
Don't do it that way. Match on the SCSI ID strings. It's a lot easier.
The SCSI ID string is often quite meaningless. My USB MP3 stick claims as SCSI vendor "Generic", and as device "MusicDrive". I've a SCSI scanner that announces itself as "SCANNER" - and as far as I know, most devices from this vendor do the same, so plug&play doesn't work. The USB ID is much better.
But, you can follow the symlinks if you want. It's nominally guaranteed to stay that way.
Really, I'm not the hotplug expert. You should talk to them.
Ok. On the other hand, I suspect that quite a number of USB storage devices have problems with 64k transfers, due to the fact that Windows doesn't do such long transfers ("what works with Windows is ok"). It's probably better to whitelist devices that can - and that would actually benefit from long transfers. You can increase the max_sectors just as easy as decrease them. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/