Herong's Tutorial Notes on CD/DVD
Dr. Herong Yang, Version 2.14

"readcd -fulltoc" - Multi-Session Data CD Sample

This section provides a sample of TOC (Table Of Content) from a data CD with multiple sessions.

The next test I did was on a data CD with multiple sessions I ran the "readcd -fulltoc" command after inserting the CD:

C:\>\local\cdrtools\readcd dev=0,0,0 -fulltoc
Read  speed:  4234 kB/s (CD  24x, DVD  3x).
Write speed:  4234 kB/s (CD  24x, DVD  3x).
TOC len: 125. First Session: 1 Last Session: 2.
readcd: Input/Output error. read toc: scsi sendcmd: no error
CDB:  43 00 02 00 00 00 00 00 7D 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 10 00 00 4A 80 08 03 00 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32))
 Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 7.000s timeout 40s
01 14 00 A0 00 00 00 00 01 20 00
01 14 00 A1 00 00 00 00 01 00 00
01 14 00 A2 00 00 00 00 1A 18 41
01 14 00 01 00 00 00 00 00 02 00
01 54 00 B0 1C 36 41 02 4A 2B 00
01 54 00 C0 80 00 00 00 61 22 15
02 14 00 A0 00 00 00 00 02 20 00
02 14 00 A1 00 00 00 00 02 00 00
02 14 00 A2 00 00 00 00 1E 04 3C
02 14 00 02 00 00 00 00 1C 38 41
02 54 00 B0 1F 22 3C 01 4A 2B 00
Lead out 1: 118715
Lead out 2: 135210

The output tells us that:

  • There are 2 sessions on the CD.
  • There is 1 track in each session.
  • The size of the first session is 118,715 sectors. The size of the second session is 16,495 sectors.

Sections in This Chapter

Where Is TOC Located on a CD

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

"readcd -fulltoc" - CD-DA (Audio CD) Sample

"readcd -fulltoc" - Data CD Sample

"readcd -fulltoc" - Multi-Session Data CD Sample

"readcd -fulltoc" - VCD (Video CD) Sample

"readcd -fulltoc" - DVD Sample

Dr. Herong Yang, updated in 2007
"readcd -fulltoc" - Multi-Session Data CD Sample