Copyright (C) 2000-2012 |
Whole document tree Appendix B. sg_header, the original sg control structureFollowing is the original interface structure of the sg driver that dates back to 1991. Those field elements with a "[o]+" are added by the sg version 2 driver which was first placed in lk 2.2.6 in April 1999.
This interface is fully described in the www.torque.net/sg/p/scsi-generic.txt file which documents the sg version 2 driver. Since many Linux applications use this interface, it is still supported in this version (i.e. version 3) of the driver. Only its most perverse idiosyncrasies have been modified and no major applications have reported any problems running old applications atop this newer driver. |