On Monday, July 31, 2000, Michael Lang wrote:
> The reason for why this has been changed was, that some SCSI-devices,
> mainly those with changeable media, like tapedrives, CD-ROMs or Syquest
> drives won't get recognized. The TEST_UNIT_READY may fail on such devices,
> if no medium is inserted. The INQUIRY command should always work on
> physically present drives, no matter if a medium is present or not and it
> therefore offers the safest way to detect some SCSI-device.
Ok, I can understand the reasoning behind the change then.
> Maybe, one could think of some TEST_UNIT_READY to be done on unchangeable
> media, before the INQUIRY test is done. This could be some point of
> discussion.
Hmmm... One has to perform INQUIRY *before* you know whether or not
the media is changeable or not, no?
Instead of the original TUR then INQUIRY, maybe INQUIRY followed by
TUR would be workable. If TUR returns "Logical Unit Not Supported"
or somesuch, then nix the scsi device.
Thanks,
-SteveR
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]