From: David Laight > > From: Norman Diamond > ... >> By the way, I've seen some USB bridges that lie about whether they >> performed various SAT commands (ATA passthrough), but told the truth >> about performing an ATA IDENTIFY DEVICE through SAT. So we could attempt >> ATA passthrough with an IDENTIFY DEVICE command, and if it happens to >> return a sane looking result, we could comparre it to the bridge's own >> translation of READ_CAPACITY_10 and READ_CAPACITY_16. If the passthrough >> yielded a sane result and the capacity doesn't match, we know not to >> trust the bridge with 16-byte commands (except if tested, as mentioned). >> In such a case, we don't even have to look at the partition table. Of >> course if the ATA passthrough fails or if the result is garbage then >> abandon this test and maybe look at the partition table. > ... > > Don't count on devices answering ATA IDENTIFY correctly either. Of course. That's why you quoted me saying this: >> Of >> course if the ATA passthrough fails or if the result is garbage then >> abandon this test and maybe look at the partition table. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html