C/C++ on Linux/Unix

Moderators: Lundin
Number of threads: 336
Number of posts: 663

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Working with SCSI generic driver/ Posted by LONGOBARD on 10 Dec 2003 at 8:53 AM
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.
Thanks.
Michail
Sorry for my pour English (i`m from Russia).



 

Recent Jobs