From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: PATCH: exclude certain commands from emulated SCSI hosts Date: 23 Mar 2003 19:39:01 -0600 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <1048469946.1643.2.camel@mulgrave> References: <20030322193705.C17056@one-eyed-alien.net> <20030322233136.D17056@one-eyed-alien.net> <1048467235.1634.22.camel@mulgrave> <20030323173733.B24668@one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20030323173733.B24668@one-eyed-alien.net> List-Id: linux-scsi@vger.kernel.org To: Matthew Dharm Cc: Linus Torvalds , USB Developers , USB Storage List , Linux SCSI list On Sun, 2003-03-23 at 19:37, Matthew Dharm wrote: > Actually, there is such a list. It's the commands that the 'popular OS' > uses, and I have a pretty good idea exactly what those are. That's why my > original approach was to just cut out the commands that fell outside that > definition. Well, if you want to write a helper for the mid layer that checks the commands and returns a Check Condition with sense Illegal Reguest on the bad ones, that sounds like the best approach. You can then call the helper function in the queuecommand of the problem emulated drivers. Can you publish a rough list of these? James