How to send inquiry command to thorugh sd path (i.e. /dev/sda) by using SG_IO ioctl
Hi All,
Any one og you have any idea on scsi inquiry command ?
I want to send an Inquiry command to a scsi device through sd path (.i.e. /dev/sda or /dev/sdb) by using SG_IO ioctl. Please explain me...
Your help is appreciated
Regards
Masthan
Signature · 2 lines
View this message in context: http://www.nabble.com/How-to-send-inquiry-command-to-thorugh-sd-path-%28i.e.--dev-sda%29-by-using-SG_IO-ioctl-tf3387437.html#a9429164 Sent from the linux-scsi mailing list archive at Nabble.com.
Quoted 7 lines · MasthanUsha
Hi All,
Any one og you have any idea on scsi inquiry command ?
I want to send an Inquiry command to a scsi device through sd path (.i.e.
/dev/sdaor/dev/sdb) by usingSG_IOioctl. Please explain me...
If you look at http://www.torque.net/sg/sg3_utils.html
and fetch a tarball (e.g. sg3_utils-1.23.tgz) then have a look at the examples/sg_simple1.c file.
Doug Gilbert
download sg_utils3 and use the sg_inq command to do so
Quoted 17 lines · MasthanUsha
Hi All,
Any one og you have any idea on scsi inquiry command ?
I want to send an Inquiry command to a scsi device through sd path (.i.e.
/dev/sdaor/dev/sdb) by usingSG_IOioctl. Please explain me...Your help is appreciated
Regards
Masthan
Signature · 2 lines
View this message in context: http://www.nabble.com/How-to-send-inquiry-command-to-thorugh-sd-path-%28i.e.--dev-sda%29-by-using-SG_IO-ioctl-tf3387437.html#a11021647 Sent from the linux-scsi mailing list archive at Nabble.com.