readcd -fulltoc - Reading TOC with cdrtools

Q

"readcd -fulltoc" - Reading TOC with "cdrtools"

✍: Guest

A

The "cdrtools" package has a nice tool called "readcd" that can be used to read the TOC (Table Of Contents) from any kind of CD. See other section of this book to install "cdrtools".
If you run the "readcd" command with the "-fulltoc" option, you will get the content of TOC from the CD. Try this command with no CD in the CD drive first:

C:\>\local\cdrtools\readcd -fulltoc dev=0,0,0
readcd: Input/Output error. set cd speed: scsi sendcmd: no error
CDB:  BB 00 FF FF FF FF 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 10 00 00 BB 00 3A 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 40s
Read  speed:  4234 kB/s (CD  24x, DVD  3x).
Write speed:  2823 kB/s (CD  16x, DVD  2x).
readcd: Input/Output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 10 00 00 BB 00 3A 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 40s
readcd: Device not ready.

The output tells you that there is no CD in the CD drive.

2007-12-12, 5682👍, 0💬