VERIFY
7. ATAPI Packet Command Specification
SONY AIT-1Turbo drive SDX-460V series Ver.1.0
7-77
7.24. VERIFY 13h
Bit
Byte
7 6 5 4 3 2 1 0
0
Operation Code (13h)
1
Reserved
0 (Immed)
0 (Bytmp)
1 (Fixed)
2
(MSB)
3
4
Verification Length
(LSB)
5
Reserved
6
Reserved
7
Reserved
8
Reserved
9
Reserved
10
Reserved
11
Reserved
VERIFY verifies one or more blocks beginning with the next block on the tape. The verification is a media
verification only. No data is transferred between the Host and the Drive.
Fixed:
This bit specifies both the meaning of the Verification Length field and whether fixed-length or variable-
length blocks are to be verified. Only fixed block mode is available therefore the Fixed bit is set to one.
Verification Length:
specifies the number of blocks to be verified by the drive.
BytCmp:
This function is not supported. If this bit is set, the command is rejected with CHECK CONDITION status
with the ILLEGAL REQUEST sense key set.
Immed:
This function is not supported. If this bit is set, the command is rejected with a CHECK CONDITION
status with the ILLEGAL REQUEST sense key set.
VERIFY terminates when the Verification Length has been satisfied, when a File mark, a Save-Set Mark (if the
drive has been configured to report Set-marks), EOD or the physical EOM is encountered. The status and sense
data for each of these conditions are handled in the same manner as in READ. Upon completion of VERIFY, the
logical position is located after the last block from which data was verified or after the File mark, or Set-mark, if one
is encountered. When the Verification Length is ZERO, no data is verified and the current logical position is not be
changed.
If the actual block length is different from the Verification Length, a CHECK CONDITION status is returned. Within
the Sense data, the Incorrect Length Indicator (ILI) bit and Valid bit will be set to one, the Sense Key field is set to
NO SENSE and the Information Bytes are set to the difference (residue) between the requested number of blocks
and the actual number of blocks verified.
If the actual block length is different from the Verification Length, a CHECK CONDITION status is returned. Within
the Sense data, the Incorrect Length Indicator (ILI) bit and Valid bit will be set to one, the Sense Key field is set to
NO SENSE, and the Information Bytes are set to the difference (residue) between the requested Verification
length and the actual block length, or in Blocked Mode, the difference (residue) between the requested number of
blocks and the actual number of blocks verified.
If the drive encounters a File mark, the drive will return a CHECK CONDITION status. Within the Sense data, the
File mark and Valid bits are set and the Sense Key field is set to NO SENSE. The Information fields contain the
residue count. The Additional Sense Code and Additional Sense Code Qualifier fields are set to File mark
Detected. Upon termination, the media will be logically positioned after the File mark (EOM side).