Re: [usb-storage] Re: [PATCH] fix Sony USB mass storage - pass larger receive buffer

Matthew Dharm
2003-11-14T01:03:25Z

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On Thu, Nov 13, 2003 at 04:37:12PM -0700, Pat LaVarre wrote:
> Maybe here I mean to ask: can we easily nutshell for me how well
> write-protect works now in sd? I understand that we find mode sense of
> header alone and mode sense of xFF troublesome.

sd checks for write-protect status when it decides to 'revalidate' the
disk. That means, basically, when the user has instructed the device to
eject media, or the device returns sense data indicating that media might
have changed.

Matt

--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks?
-- Customer to Greg
User Friendly, 2/10/1999

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]