From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621739.tru64-unix-managers.marc@archive.invalid> From: Tim Mooney Date: Fri, 08 Jun 2001 19:53:14 +0000 To: tru64-unix-managers Subject: SCSI CAM references and examples? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621739 All- I need to do some application programming to see if I can get at some vendor-specific info from a tape jukebox (StorageTek). I'm very comfortable in C, but I've never done any SCSI programming. My plan is to start basic, such as getting an inquiry program working, and then get fancy. I have the older (revision 1) "Writing Device Drivers for the SCSI/CAM Architecture Interfaces" guide. That guide appears to be primarily aimed at device driver writers (rather than for someone that wants to write an application to interface with a SCSI device, though CAM), but there's enough application-level code that I should be able to get started with that. I see that that guide has been removed from the revision two device drivers kit, though. This leaves me with some questions: 1) Should I be using the information in the revision 1 guide, or is there a newer API that I should be investigating for SCSI under 5.x? Seems like CAM is still the way to go, but the loss of the guide makes me wonder. 2) What other (good) SCSI CAM example code should I be looking at? I've looked through the code that comes with XMcd, and that may be helpful, but if there's additional code out there that I should be investigating, I would love to know about it. The `cdrecord' program is another one I just thought of. What others am I still missing? 3) Has anyone done a Linux (or Solaris) "SCSI generic" vs. Tru64 CAM programming comparison document or web page? There's more example code out there for Linux SCSI applications than there is for Tru64, so having a Rosetta stone for translating the source to CAM would be a boon. Anyone know of one? Thanks! Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164