logo       

Re: [usb-storage] Re: [PATCH] fix Sony USB mass storage - pass larger recei: msg#00159

Subject: Re: [usb-storage] Re: [PATCH] fix Sony USB mass storage - pass larger receive buffer
On Wed, 12 Nov 2003, Matthew Dharm wrote:

> I'm starting to think that this may be the best solution -- blacklist all
> MODE_SENSE[_10] commands from all Direct-Access devices.

I was just going to suggest that myself -- or rather, blacklist all 
MODE-SENSE(x) commands from all USB disk-type devices.

Is there any strong reason not to do this?  Bear in mind that Windows 
apparently does not use these commands.  I don't see how not knowing the 
true read-write status or caching type will hurt anything.  (And the 
read-write status can be adjusted, if necessary, when a WRITE command 
fails with Medium Error: Write Protected sense.)

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>