On Thu, 2007-02-08 at 02:14 -0800, Masthan wrote:
> I am not getting why i am getting the following DIAG message
> 
> Program inquiry is using deprecated scsi ioctl, please convert it to SG_IO.
> 
> The following snippet of linux source code clearly saying that, the above
> message is a kind of cosmetic warning message.
> 
> Do you know how to use SG_IO to overcome this problem.
> 
> The following function sayign that only 6 scsi ioctls are deprecated, out of
> 6 inquiry program is using  only 2 scsi ioctls(i.e.SCSI_IOCTL_SEND_COMMAND
> and SCSI_IOCTL_TEST_UNIT_READY ) . What are their equivalents SG_IO ioctls ?

Yes, see, e.g.

http://www.linux.org/docs/ldp/howto/SCSI-Generic-HOWTO/sg_io.html

although SG_IO can be sent to any SCSI device, not just sg.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to