Operating System - HP-UX
1832906 Members
2708 Online
110048 Solutions
New Discussion

progamming with scsi commands

 
Ken Hunter
Advisor

progamming with scsi commands

Does anyone have some sample code they're willing to share that deals with scsi commands. I have a sony AIT-2 tape drive - where I am writing some code to read the logfile on board the tape drive. Well, to do this - I have to open the device, and setup the commands to do the LOG SELECT and LOG SENSE scsi commands. I don't quite have enuf scsi programming experience to pull this together.

thanks in advance,

Ken Hunter :)
Lead, Follow, or Get out of the Way! - USMC
1 REPLY 1
paul courry
Honored Contributor

Re: progamming with scsi commands

Pardon me for asking, but.............

I can use STM to strip the logs from disk files and while I've never needed to do that for a tape drive perhaps it is possible? This would avoid the need to write code.