Attribute List service action

This service action is used to retrieve the identifiers of all the attributes that are supported and exist. The First Attribute ID field in the CDB is ignored. The attribute identifiers are returned in ascending numerical order. The format of the returned data is as follows:

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

Available Data (n3)

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

Attribute ID 1

 

 

 

 

a

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

m

 

 

 

Attribute ID x

 

 

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The Available Data field specifies the number of bytes of attribute ID data returned. Even if the data returned has to be truncated because the Allocation Length is too small, the contents of the Available Data field remain the same.

A two-byte Attribute ID is returned for each attribute available on MAM. See “Attribute ID values” on page 116 for a description of the Attribute ID values.

Partition List service action

The Partition List service action is used to report the number of partitions supported in the specified volume, which in the case of Ultrium drives is 1. The Partition Number and Attribute fields in the CDB are ignored. The information returned is as follows:

 

 

7

6

5

 

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

 

Available Data (2)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

First Partition Number (0)

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

Number of Partitions Available (1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The First Partition Number is the first partition available on the specified volume. Since Ultrium drives do not support multiple partitions, this is 0.

The Number of Partitions Available indicates the number of partitions available on the specified volume. Since Ultrium drives do not support multiple partitions, this is 1.

Commands

READ ATTRIBUTE 8Ch 113