UDF 2.00 - OSTA - Optical Storage Technology Association
UDF 2.00 - OSTA - Optical Storage Technology Association
UDF 2.00 - OSTA - Optical Storage Technology Association
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.3 Part 4 - File System<br />
3.3.1 File Identifier Descriptor<br />
struct FileIdentifierDescriptor { /* ECMA 167 4/14.4 */<br />
struct tag DescriptorTag;<br />
Uint16 FileVersionNumber;<br />
Uint8<br />
FileCharacteristics;<br />
Uint8<br />
LengthofFileIdentifier;<br />
struct long_ad ICB;<br />
Uint16 LengthofImplementationUse;<br />
byte<br />
ImplementationUse[];<br />
char<br />
FileIdentifier[];<br />
byte<br />
Padding[];<br />
}<br />
NOTE: All <strong>UDF</strong> directories shall include a File Identifier Descriptor that indicates<br />
the location of the parent directory. The File Identifier Descriptor describing the<br />
parent directory shall be the first File Identifier Descriptor recorded in the<br />
directory. The parent directory of the Root directory shall be Root, as stated in<br />
ECMA 167-4, section 8.6<br />
3.3.1.1 Uint8 FileCharacteristics<br />
The following sections describe the usage of the FileCharacteristics under various<br />
operating systems.<br />
3.3.1.1.1 MS-DOS, OS/2, Windows 95, Windows NT, Macintosh<br />
$ If Bit 0 is set to ONE, the file shall be considered a "hidden" file.<br />
If Bit 1 is set to ONE, the file shall be considered a "directory."<br />
If Bit 2 is set to ONE, the file shall be considered "deleted."<br />
If Bit 3 is set to ONE, the ICB field within the associated FileIdentifier<br />
structure shall be considered as identifying the "parent" directory of the<br />
directory that this descriptor is recorded in<br />
? If the file is designated as a "hidden" file, Bit 0 shall be set to ONE.<br />
If the file is designated as a "directory," Bit 1 shall be set to ONE.<br />
If the file is designated as "deleted," Bit 2 shall be set to ONE.<br />
3.3.1.1.2 UNIX<br />
Under UNIX these bits shall be processed the same as specified in<br />
3.3.1.1.1., except for hidden files which will be processed as normal nonhidden<br />
files.<br />
<strong>UDF</strong> <strong>2.00</strong> April 3, 1998<br />
50