On Mon, 27 Oct 2008, James Bottomley wrote: > > > About the best we can do is check the first four fields. For them to be > > > all zero, it would have to be a minimal response SCSI-1 device (RDF of > > > zero) ... hopefully they're all dead by now. > > > > Then you're saying that the patch should everything up to > > inq_result[8]? Or maybe even beyond? I can do that. Would that be > > acceptable? > > No ... "first four fields" means everything up to inq_result[3]. > Anything beyond that would be legitimately zero if they were. But what about the case where the first four bytes are zero and some of the fields beyond them are nonzero. Isn't that possible? 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