05.07.2014 Views

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(indicating a block special device file), OR 7 (indicating a character special<br />

device file).<br />

If the contents of the FileType field in the icbtag structure do not equal 6<br />

or 7, the DeviceSpecificationExtendedAttribute associated with a file shall<br />

be ignored.<br />

In the event that the contents of the FileType field in the icbtag structure<br />

equal 6 or 7, and the file does not have a<br />

DeviceSpecificationExtendedAttribute associated with it, access to the file<br />

shall be denied.<br />

For operating system environments that do not provide for the semantics<br />

associated with a block special device file, requests to<br />

open/read/write/close a file that has the<br />

DeviceSpecificationExtendedAttribute associated with it shall be denied.<br />

All implementations shall record a developer ID in the ImplementationUse<br />

field that uniquely identifies the current implementation.<br />

3.3.4.5 Implementation Use Extended Attribute<br />

struct ImplementationUseExtendedAttribute { /* ECMA 167 4/14.10.8 */<br />

Uint32 AttributeType;<br />

Uint8<br />

AttributeSubtype;<br />

byte<br />

Reserved[3];<br />

Uint32 AttributeLength;<br />

Uint32 ImplementationUseLength; /* (=IU_L) */<br />

struct EntityID ImplementationIdentifier;<br />

byte<br />

ImplementationUse[IU_L];<br />

}<br />

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

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

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

padding space between the end of the Implementation Use field and the end of the<br />

Implementation Use Extended Attribute.<br />

The following sections describe how the Implementation Use Extended Attribute is<br />

used under various operating systems to store operating system specific extended<br />

attributes.<br />

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

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

Attribute header. The fields AttributeType through ImplementationIdentifier<br />

inclusively represent the data covered by the checksum. The header checksum<br />

<strong>UDF</strong> <strong>2.00</strong> April 3, 1998<br />

59

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

Saved successfully!

Ooh no, something went wrong!