PDA

View Full Version : How to read Raw Information from CD in MAC?



vishal.chauhan
10th July 2007, 12:26
Hi All,

I m working on Qt 4.1.5 on my MAC.
I want to read raw data from the CD so I m using
read( fileDescriptor, Buffer, Size );
to read the data in the Buffer and it return the data in buffer.


My problem is that I have to read each and every sector of the CD into a file and i donot know the sector size in CD?(2048 or 2352).

Why I m saying this is because when I see this file on a window system from a hexeditor and saw any file it is showing as it is on sector 7888 and sector size is 2048 but actually when i read raw information in mac the file is not found at the start of te sector or on the sector.


So If any body knows something regarding this then plz help me out.

Thanks.