05.07.2014 Views

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IBM OS/400 UDF Implementation<br />

<strong>Optical</strong> <strong>Storage</strong> Solutions, Department HTT<br />

IBM<br />

Rochester, Minnesota<br />

3.3.4.6 Application Use Extended Attribute<br />

struct ApplicationUseExtendedAttribute { /* ECMA 167 4/14.10.9 */<br />

Uint32 AttributeType; /* = 65536 */<br />

Uint8<br />

AttributeSubtype;<br />

byte<br />

Reserved[3];<br />

Uint32 AttributeLength;<br />

Uint32 ApplicationUseLength; /* (=AU_L) */<br />

struct EntityID ApplicationIdentifier;<br />

byte<br />

ApplicationUse[AU_L];<br />

}<br />

The AttributeLength field specifies the length of the entire extended attribute. For<br />

variable length extended attributes defined using the Application Use Extended<br />

Attribute the Attribute Length field should be large enough to leave padding space<br />

between the end of the ApplicationUse field and the end of the Application Use<br />

Extended Attribute.<br />

The structures defined in the following section contain a header checksum field.<br />

This field represents a 16-bit checksum of the Application Use Extended Attribute<br />

header. The fields AttributeType through ApplicationIdentifier inclusively<br />

represent the data covered by the checksum. The header checksum field is used to<br />

aid in disaster recovery of the extended attributes space. C source code for the<br />

header checksum may be found in the appendix.<br />

NOTE: All compliant implementations shall preserve existing extended<br />

attributes encountered on the media. Implementations shall create and support the<br />

extended attributes for the operating system they currently support. For example,<br />

a Macintosh implementation shall preserve any OS/2 extended attributes<br />

encountered on the media. It shall also create and support all Macintosh extended<br />

attributes specified in this document.<br />

3.3.4.6.1 All Operating Systems<br />

3.3.4.6.1.1 FreeAppEASpace<br />

This extended attribute shall be used to indicate unused space within the<br />

Extended Attributes Space reserved for Application Use Extended<br />

Attributes. This extended attribute shall be stored as an Application Use<br />

Extended Attribute whose ApplicationIdentifier shall be set to:<br />

“*UDF FreeAppEASpace”<br />

UDF 2.01<br />

84<br />

March50 April

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!