> I'm trying to port some code from BSD to OSX, and I'm wondering if
> anyone can help me with something. This code relied heavily on the BSD
> SCSI interface in camlib.h (as well as cam/scsi/scsi_message.h and
> cam/scsi/scsi_pass.h) to work with a CD drive.
It would help if you explained what your tool attempts to do. The
solution for the problem you are solving may be different on Mac OS X.
If so, searching for the solution you know instead of _a_ solution for
your problem can be very frustrating.
> Naturally, I'm not seeing these anywhere in OSX. Is there an equivelent
> somewhere? Or does anyone know of a port I can use that provides a
> similar high-level interface with the disk? Any help would be much
> appreciated, thank you.
I think you will want to start at
<http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitF
undamentals/Introduction/chapter_1_section_1.html#//apple_ref/doc/uid/TP0
000011-CH204-TPXREF101>
In particular, read the "Before You Begin" section. One thing it states
is:
"You might have developed device drivers for other platforms‹
Mac OS 9, perhaps, or BSD or another flavor of UNIX. One thing
you¹ll discover reading this document is how different the
approach is with the I/O Kit."
Reinder
P.S: if you Google for documentation, skip anything mentioning "SCSI
Manager", and include anything mentioning "I/O Kit"