RESOLVED: Blocked Reads

2010-03-17 Thread r c
Thank you all for your ideas. With various suggestions, I found a variation of the CDRomSample code that seems to work well. The sample does reads on the BSN Name of the device root (i.e. /dev/rdisk#). I have found that if I dig a little deeper into the IORegistry for the device (i.e. /dev/rdis

Re: Blocked Reads

2010-03-17 Thread Greg Guerin
colors wrote: I am running into a problem with anti-virus software. I need to be able to read a file from a USB CD and I need the read to actually go over the USB bus. Why do you need the read to go over the USB bus? If the OS itself has cached some disk data, why force it to be transf

Re: Blocked Reads

2010-03-16 Thread Don Quixote de la Mancha
On Tue, Mar 16, 2010 at 9:26 PM, colors wrote: > I have also considered making SCSI Read calls or USB Read calls, but it looks > like I will only be allowed to do this if I make my own kext. If you are able to interpret the CD's filesystem on your own, would it work to read the CD's sectors from

Blocked Reads

2010-03-16 Thread colors
I am running into a problem with anti-virus software. I need to be able to read a file from a USB CD and I need the read to actually go over the USB bus. I have been just doing fopen, fread, fclose, etc. and that all works; although, I do set the file to F_NOCACHE with fcntl to make sure that I