Look
for the ‘sg3_utils’ package… It can send all sorts of SCSI
commands. One may already retrieve the information you are after. Worst
case, there is an ‘sg_raw’ which will enable you to send a raw SCSI
command to the device. Reference
the SCSI Block Commands (SBC) from the t10.org. for information regarding the
actual SCSI OP codes themselves. Cheers From:
kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Vipul Jain Hello All, I did tried lot of googling but still not much help, I
would like to send scsi command (just as we prepare inquiry packet )to find out disk geometry. To my understanding there is a command definied
in scsi spec called "Read Formant Capacity" which I suspect should solve my purpose and secondly I couldn't find packet
description any where. I was wondering if some one came across the same issue and could provide some pointer or help. Regards, Vipul. |