Working with SCSI generic driver/

I am writing a program to record CD`s (like cdrecord but better). And the question is: how can I get CD capacity? I have tryed to use READ CAPACITY command, but capacity returned by it wan not equal to real capacity of the disk. How can I get capacity? I am writing this program on C++ using SCSI generic driver. Hope you know it.
Sorry for my pour English (i`m from Russia).
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!