一般的な Application Use Extended Attribute は、次のようになります。
Application Use Extended Attribute format
RBP | 大きさ | 型 | 名称 | 内容 |
0〜3 | 4 | unsigned long | Attribute Type | =65536 |
4 | 1 | unsigned char | Attribute Subtype | =1 |
5〜7 | 3 | unsigned char[3] | Reserved | =0 |
8〜11 | 4 | unsigned long | Attribute Length (=A_L) | 属性長 (4の倍数) [bytes] |
12〜15 | 4 | unsigned long | Application Use Length (=AU_L) | Application Use の長さ [bytes] |
16〜47 | 32 | struct regid | Application Identifier | 内容 |
50〜A_L-1 | AU_L | unsigned char[AU_L] | Application Use | 予約 |
UDF1.02 では、書き換え可能なメディア用に、次の Free Application Extended Attribute Space が用意されています。
Free Application Extended Attribute Space format
RBP | 大きさ | 型 | 名称 | 内容 |
0〜3 | 4 | unsigned long | Attribute Type | =2048 |
4 | 1 | unsigned char | Attribute Subtype | =1 |
5〜7 | 3 | unsigned char[3] | Reserved | =0 |
8〜11 | 4 | unsigned long | Attribute Length (=A_L) | 属性長 (4の倍数) [bytes] |
12〜15 | 4 | unsigned long | Application Use Length (=AU_L) | Application Use の長さ [bytes] |
16〜47 | 32 | struct regid | Application Identifier | ="*UDF FreeAppEASpace" |
48〜49 | 2 | unsigned short | Header Checksum | ヘッダのCRC |
50〜A_L-1 | IU_L-2 | unsigned char[IU_L-2] | Free EA Space | (=0) 空き領域長さ |
Extended Attribute の話は、これで終わりです。