The Linux SCSI programming HOWTO

Heiko Eißfeldt heiko@colossus.escape.de

v1.4, 14 June 1995


This document deals with programming the Linux generic SCSI interface.

1. Introduction

2. What Is The Generic SCSI Interface?

3. What Are The Requirements To Use It?

4. Programmers Guide

5. Overview Of Device Programming

6. Opening The Device

7. The Header Structure

8. Inquiry Command Example

9. The Sense Buffer

10. Example Using Sense Buffer

11. Ioctl Functions

12. Driver Defaults

13. Obtaining The Scsi Specifications

14. Related Information Sources

15. Other useful stuff

16. Other SCSI Access Interfaces

17. Final Comments

18. Acknowledgments

Appendix

19. Appendix

20. Error handling

21. Additional sense codes and additional sense code qualifiers

22. A SCSI command code quick reference

23. Example programs