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).