6.Command Specification

WRITE ATTRIBUTE

6.30.WRITE ATTRIBUTE 8Dh

The WRITE ATTRIBUTE command (table 6-101) allows an application client to write attributes to medium auxiliary memory. Application clients should issue the READ ATTRIBUTE command prior to using this command to discover device server support for medium auxiliary memory.

Table 6-101: WRITE ATTRIBUTE command

Bit

7

6

5

 

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

OPERATION CODE ( 8Dh)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

2

(MSB)

 

 

 

Reserved for SMC –2 devices (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

Reserved for SMC –2 devices (0)

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

VOLUME NUMBER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

PARTITION NUMBER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

(MSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PARAMETER LIST LENGTH

 

 

 

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

CONTROL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The VOLUME NUMBER specifies a volume within the Medium Auxiliary Memory. The number of volumes of the MAM shall equal that of the attached multi-volume medium. If the medium only has a single volume, then this field shall be set to zero.

The PARTITION NUMBER specifies a partition within a volume. The number of partitions of the MAM shall equal that of the attached multi-partition medium. If the medium only has a single partition, then this field shall be set to zero.

If the combination of VOLUME NUMBER and PARTITION NUMBER is not valid, the command shall be terminated with a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST, and the additional sense data shall be set to INVALID FIELD IN CDB.

The PARAMETER LIST LENGTH field specifies the length in bytes of the parameter list contained in the DATA-OUT Buffer. A parameter list length of zero indicates that no parameter data is present; this shall not be considered an error. If the parameter list length results in the truncation of an attribute, the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be set to PARAMETER LIST LENGTH ERROR.

The parameter list shall have the format shown in table 6-102. Attributes should be sent in ascending numerical order. If the attributes are not in order, no attributes shall be changed and the WRITE ATTRIBUTE command shall be terminated with a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be set to INVALID FIELDIN PARAMETER LIST.

6-106

SONY AIT-3Ex drive SDX-800V series Ver.1.1

Page 164
Image 164
Sony SDX-800V/R manual Write Attribute 8Dh, Volume Number, Partition Number, MSB Parameter List Length LSB, Control