6.Command Specification | READ ATTRIBUTE |
Table 6-66: READ ATTRIBUTE service action codes
Code | Name | Description |
|
|
|
00h | Attribute Values | Return attribute values. |
|
|
|
01h | Attribute List | Returns a list of available attribute identifiers, identifiers |
|
| that are not in the nonexistent or unsupported state. |
02h | Volume List | Return a list of known Volume Numbers. |
|
|
|
03h | Partition List | Return a list of known Partition Numbers. |
|
|
|
04h | Reserved for |
|
|
|
|
05h – 1Fh | Reserved |
|
|
|
|
The VOLUME NUMBER specifies a volume within the Medium Auxiliary Memory. The number of volumes of the MAM will equal that of the attached
The PARTITION NUMBER specifies a partition within a volume. The number of partitions of the MAM will equal that of the attached
If the combination of VOLUME NUMBER and PARTITION NUMBER is not valid, the command will be terminated with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST, and the additional sense data will be set to INVALID FIELD IN CDB.
The FIRST ATTRIBUTE IDENTIFIER field specifies the attribute identifier of the first attribute to be returned. If the specified attribute identifier is in the unsupported or nonexistent state, the READ ATTRIBUTE will be terminated with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST, and the additional sense data will be set to INVALID FIELD IN CDB.
The ALLOCATION LENGTH field specifies how many bytes have been allocated of the first attribute to be returned. If the length is not sufficient to contain the entire parameter list, the first portion of the list will be returned. This will not be considered an error. If the remainder of the list is required, the application client will either send a new READ ATRRIBUTE command with an ALLOCATION LENGTH field large enough to contain the entire parameter list or use the FIRST ATTRIBUTE IDENTIFIER field to restrict the attributes returned.
The format of parameter data returned by the READ ATTRIBUTE command depends on the service action specified.
6.13.1.ATTRIBUTE VALUES service action
The READ ATTRIBUTE command with ATTRIBUTE VALUES service action returns parameter data containing the attributes specified by the PARTITION NUMBER, VOLUME NUMBER, and FIRST ATTRIBUTE INDENTIFIER fields in the CDB. The returned parameter data will contain the requested attributes in ascending numerical order by attribute identifier value and in the format shown in Table
SONY |