A |
Below is the Command Descriptor Block for the Format command.
Format Command CDB
| BYTE OFFSET | VALUE | COMMENTS | |
|
|
| ||
|
|
|
|
|
0 | 04 | Command code | ||
|
|
| ||
1 | (Note 1) | LUN is inserted, FMT data, | ||
|
|
| CMP | |
|
|
|
| |
|
|
| list, defect list format | |
|
|
| ||
2 | 00 | Reserved | ||
|
|
| ||
3 | 00 | Reserved | ||
|
|
| ||
4 | (Note 2) | Interleave | ||
|
|
| ||
5 | 00 | Control byte: no link, no flag | ||
|
|
|
|
|
NOTES: | 1. | FMT data (bit 4) is always = 1. CMP list bit is taken |
|
| from the CL bit in the user format packet byte offset |
|
| $14. Defect list format (bits |
|
| list type supplied by the user. |
Below is a table of user defect list type and defect list format.
User Defect List Type and Defect List Format.
|
| DEFECT LIST |
|
|
|
| DEFECT LIST TYPE | FORMAT (BITS |
|
|
|
|
|
|
Type 0 | (logical block number) | 0 0 0 |
|
|
|
Type 1 | (head, cylinder, | 1 0 1 |
|
| |
sector within track) |
| |
|
|
|
Type 0 | (head, cylinder, | 1 0 0 |
|
| |
bytes from index) |
| |
|
|
|
2.Interleave is taken from the user packet byte offset $0E.