![](/images/new-backgrounds/1106359/10635941x1.webp)
INQUIRY
Table 3. INQUIRY Command
| 7 | 6 | 5 | 4 |
| 3 |
| 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (12h) |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |
1 | Logical Unit Number (0) |
|
| Reserved |
| EVPD | ||||
|
|
|
|
|
|
|
|
|
| |
2 |
|
|
| Page Code |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |
3 |
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |
4 |
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
| Control |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
The INQUIRY command instructs the drive to return data about itself to the initiator.
If the Enable Vital Product Data (EVPD) flag is clear and the Page Code is 0, standard Inquiry Data is returned.
If the Enable Vital Product Data (EVPD) flag is set and the Page Code is 0, the
Supported Vital Product Data Pages page is returned.
If the Enable Vital Product Data (EVPD) flag is set, if the Page Code is not 0, and if there is a
If the preceding conditions do not apply, Check Condition status is returned. The Sense Key is set to Illegal Request (5) and the ASC/ASCQ is set to Invalid Field in CDB (2400).
Chapter 2. Command Support 7