Charles Davis cdavis@mymail.mines.edu writes:
Eventually, I want to implement IOCTL_SCSI_PASS_THOROUGH on Mac OS. The way I see it, there are two ways to do this:
- Use the SCSITaskDevice interface. This is a CFPlugIn object provided
by the driver (it's like a COM object). We have to get exclusive access (this requires all the handles to all device files to be closed, and the disk unmounted), and then we can send whatever SCSI commands we like.
I don't think we can realistically require the device to be unmounted. Most apps will want to check for files too.