Optical Drive and Library SCSI-2 Command Reference

SCSI-2 Drive Command Set
Read Defect Data (Group 5) Command (B7H)
Chapter 22-142
Read Defect Data (Group 5) Command (B7H)
This command reads optical disk defect information. The data returned
starts with an 8-byte header, followed by one or more defect descriptors.
PList &GList A Primary List bit of 0 and a Grown List bit of 1
indicates the drive will return the contents of the
Primary Defect List (PDL) and the Secondary Defect
List (SDL).
A PList bit of 1 and a GList bit of 0 indicates the drive
will return the contents of PDL.
A PList bit of 1 and a GList bit of 1 indicates the drive
will return the contents of the PDL and the SDL.
Table 2-127 Read Defect Data (Group 5) Command CDB
Byte 7 6 5 4 3 2 1 0
0 Operation Code (B7H)
1 Logical Unit Number
(0)
PList GList Defect List Format
2 Reserved (0)
3 Reserved (0)
4 Reserved (0)
5 Reserved (0)
6 Allocation Length (MSByte)
7 Allocation Length
8 Allocation Length
9 Allocation Length (LSByte)
10 Reserved (0)
11 Reserved (0) Link Flag