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.

the offset and length of a partition within physical space is specified by a Partition<br />

Descriptor (see 2.2.14). A sparable partition shall begin and end on a packet boundary.<br />

The sparing table further specifies an exception list of logical to physical mappings. All<br />

mappings are one packet in length. The packet size is specified in the sparable partition<br />

map.<br />

Available sparing areas may be anyw<strong>here</strong> on the media, either inside or outside of a<br />

partition. If located inside a partition, sparable space shall be marked as allocated and<br />

shall be included in the Non-Allocatable Space Stream. The mapped locations should be<br />

filled in at format time; the original locations are assigned dynamically as errors occur.<br />

Each sparing table shall be structured as shown below.<br />

Sparing Table layout<br />

BP Length Name Contents<br />

0 16 Descriptor Tag tag = 0<br />

16 32 Sparing Identifier EntityID<br />

48 2 Reallocation Table Length (=RT_L) Uint16<br />

50 2 Reserved #00 bytes<br />

52 4 Sequence Number Uint32<br />

56 8*RT_L Map Entry Map Entries<br />

This structure may be larger than a single sector if necessary.<br />

• Descriptor Tag<br />

Contains a Tag Identifier of 0, which indicates that the format of the Descriptor Tag is not<br />

specified by ECMA 167. All other fields of the Descriptor Tag shall be valid, as if the Tag<br />

Identifier were one of the values defined by ECMA 167.<br />

• Sparing Identifier:<br />

• Flags = 0<br />

• Identifier = *UDF Sparing Table<br />

• IdentifierSuffix is recorded as defined in UDF 2.1.5<br />

• Reallocation Table Length<br />

Indicates the number of entries in the Map Entry table.<br />

• Sequence Number<br />

Contains a number that shall be incremented each time the sparing table is updated.<br />

• Map Entry<br />

A map entry is described in the table below. Maps shall be sorted in ascending order by the<br />

Original Location field.<br />

UDF 2.01<br />

39<br />

March50 April

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

Saved successfully!

Ooh no, something went wrong!