View
150
Download
2
Category
Preview:
Citation preview
1著作權所有,非經工研院同意,不得翻印或轉載
File System(ISO & UDF)File System(ISO & UDF)
主講人:黃健興E-Mail : johnnyhuang@itri.org.tw
2003/5/24
2著作權所有,非經工研院同意,不得翻印或轉載
Concept of DVD File SystemConcept of DVD File System
3著作權所有,非經工研院同意,不得翻印或轉載
DVD File System &the related standardDVD File System &the related standard
4著作權所有,非經工研院同意,不得翻印或轉載
UDF&ISO0660 Volume Space OverviewUDF&ISO0660 Volume Space Overview
5著作權所有,非經工研院同意,不得翻印或轉載
Reference SpecificationReference Specification
6著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 & Micro UDFISO9660 & Micro UDF
• 使用 UDF Bridge v1.02 ,相容於 ISO9660 和 UDF v1.02
• ROM 碟片起始位址為 30000h• Path Table 與 Directory Record 固定從 offset 257
的地區開始擺放
7著作權所有,非經工研院同意,不得翻印或轉載
File System on DiscFile System on Disc
8著作權所有,非經工研院同意,不得翻印或轉載
Example of UDF File SystemExample of UDF File System
R oot
Sub1
Sub2
Sub2F ile1
Sub1F ile1
R ootF ile1
Lead-in Area
Volume Structure Area
F ile Set D escrip tor
F ile Entry (R oot D irectory IC B)
R oot D irectory F ile Identifie r D escrip tors : Sub1, R ootF ile1
F ile Entry (Sub1)
Sub1 F ile Identifie r D escrip tors : Sub2, Sub1F ile1
F ile Entry (Sub2)
F ile Entry (R ootF ile1)
F ile Entry (Sub1F ile1)
Sub2 F ile Identifie r D escrip tor : Sub2F ile1
F ile Entry (Sub2F ile1)
R ootF ile1
Sub1F ile1
Sub2F ile1
9著作權所有,非經工研院同意,不得翻印或轉載
List of acronymsList of acronyms
• BP : Byte Position• RBP : Relative Byte Position• LBN : Logical Block Number• LSN : Logical Sector Number• PSN : Physical Sector Number• ID : Identifier• ICB : Information Control Block
10著作權所有,非經工研院同意,不得翻印或轉載
Short Allocation DescriptorShort Allocation Descriptor
RBP Length Name Contents
0 4 Extent Length Uint32
4 4 Extent Position Uint32
short_ad
11著作權所有,非經工研院同意,不得翻印或轉載
Long Allocation DescriptorLong Allocation Descriptor
RBP Length Name Contents
0 4 Extent Length Uint32
4 6 Extent Position lb_addr10 6 Implementation Use bytes
RBP Length Name Contents
0 4 Logical Block Number Uint32
4 2 Partition Reference Number
Uint16
lb_addr
long_ad
12著作權所有,非經工研院同意,不得翻印或轉載
32-bit Numerical Value32-bit Numerical Value
Decimal Hex LB32
305419896 12 34 56 78 78 56 34 12
LB32 (Least significant byte first)
Decimal Hex MB32
305419896 12 34 56 78 12 34 56 78
MB32 (Most significant byte first)
Decimal Hex BB32
305419896 12 34 56 78 78 56 34 12 12 34 56 78
BB32 (Both-byte orders)
13著作權所有,非經工研院同意,不得翻印或轉載
2.1 Requirements for DVD-ROM disc2.1 Requirements for DVD-ROM disc
1. Complies with UDF Bridge Format
( ISO9660 + UDF 1.02).
2. Logical sector and block size: 2048 bytes.
3. Anchor Volume Descriptor Pointers:
LSN = 256 (100h)
and
LSN = Last_LSN and/or (Last_LSN –256)
14著作權所有,非經工研院同意,不得翻印或轉載
2.2.1 Physical Sector Layout2.2.1 Physical Sector Layout
Radius
PSN
030000h
(inner) (outer)
Lead-in area
Lead-out area
Data area
Information area
End_PSN
1. Single layer type
15著作權所有,非經工研院同意,不得翻印或轉載
2.2.1 Physical Sector Layout (cont.)2.2.1 Physical Sector Layout (cont.)
2. Dual layer type with Parallel Track Path(PTP)
Layer 1 Layer 0
Radius
030000h
(inner) (outer)
Lead-in area
Lead-out area
Data area
Information area
PSN of both layer
End_PSN(0)End_PSN(1)
16著作權所有,非經工研院同意,不得翻印或轉載
2.2.1 Physical Sector Layout (cont.)2.2.1 Physical Sector Layout (cont.)
3. Dual layer type with Opposite Track Path(OTP)
Radius
PSN
030000h
(inner) (outer)
Middle area
Data area
Information area
PSN of Layer 0
End_PSN(0)
End_PSN(0)
PSN of Layer 1End_PSN(1)
Lead-in area
Lead-out area
17著作權所有,非經工研院同意,不得翻印或轉載
2.2.2 Logical Sector Assignment2.2.2 Logical Sector Assignment
1. Single layer type
Data Area
030000h PSN End_PSN
0 LSN Last_LSN
Volume Space
(inner) (outer)
18著作權所有,非經工研院同意,不得翻印或轉載
2.2.2 Logical Sector Assignment (cont.)2.2.2 Logical Sector Assignment (cont.)
2. Dual layer type with Parallel Track Path(PTP)
Volume Space
030000h End_PSN(1)PSNPSN
Data Area Layer 0 Data Area Layer 1
0 LSN Last_LSN
030000h End_PSN(0)
(inner) (outer)(outer) (inner)
19著作權所有,非經工研院同意,不得翻印或轉載
2.2.2 Logical Sector Assignment (cont.)2.2.2 Logical Sector Assignment (cont.)
3. Dual layer type with Opposite Track Path(OTP)
Volume Space
End_PSN(0) End_PSN(1)PSNPSN
Data Area Layer 0 Data Area Layer 1
0 LSN Last_LSN
030000h
End_PSN(0)
(inner) (inner)(outer) (outer)
20著作權所有,非經工研院同意,不得翻印或轉載
2.2.3 Lead-in Area2.2.3 Lead-in Area
Initial zone ( All 00h)
Reference code zone
Buffer zone 1 (All 00h)
Control data zone
Buffer zone 2 (All 00h)
Data Area
PSN=0
Lead-in Area
PSN=2F000h (2 ECC blocks)
PSN=2F020h (30 ECC blocks)
PSN=2F200h (192 ECC blocks)
PSN=2FE00h (32 ECC block)
PSN=30000h ( LSN=0)
21著作權所有,非經工研院同意,不得翻印或轉載
2.2.4 Control Data Zone2.2.4 Control Data Zone
Physical format information
Disc Manufacturing Information
Contents provider information
191 * Control_Data_Block
RPSN=0
Control Data Block
RPSN=1
RPSN=2~15
RPSN=16
Control Data Zone
RPSN=3071
192*16=3072 sectors
22著作權所有,非經工研院同意,不得翻印或轉載
2.3 Volume Structure of UDF Bridge Format
2.3 Volume Structure of UDF Bridge Format
The volume structure of UDF Bridge format shall contain
1. A UDF Bridge Volume Recognition Sequence.
2. A Main Volume Descriptor Sequence.
3. A Reserve Volume Descriptor Sequence.
4. A Logical Volume Integrity Sequence.
5. Two Anchor Points.
23著作權所有,非經工研院同意,不得翻印或轉載
Example of UDF Bridge Volume StructureExample of UDF Bridge Volume StructureLSN Structure LBN
0 to 15 Reserved 16 to 20 UDF Bridge
Volume Recognition Sequence 21 to 31 Reserved 32 to 47 Main Volume Descriptor Sequence 48 to 63 Reserve Volume Descriptor Sequence 64 to 65 Logical Volume Integrity Sequence
66 to 255 Reserved 256 First Anchor Point
257 to p-1 ISO9660 File Structure
Not Assigned
p to p+(q-1)
UDF File Structure 0 to q-1
p+q to Last LSN - 1
File Data Structure q to Last LBN
Last LSN Second Anchor Point
24著作權所有,非經工研院同意,不得翻印或轉載
Example of UDF Bridge Volume Structure(cont.)
Example of UDF Bridge Volume Structure(cont.)
LSN Descriptors Structure LBN 0 to 15 Reserved(all 00h bytes)
16 Primary Volume Descriptor (ISO 9660)
17 Volume Descriptor set Terminator
18 Beginning Extended Area Descriptor
19 NSR Descriptor 20 Terminating Extended Area
Descriptor
UDF Bridge
Volume Recognition
Sequence
21 to 31 Reserved ( all 00h bytes )
Not Assigned
25著作權所有,非經工研院同意,不得翻印或轉載
UDF Bridge Volume Structure(cont.)UDF Bridge Volume Structure(cont.)
LSN Descriptors Structure LBN 32 Primary Volume Descriptor
(UDF) 33 Implementation Use Volume
Descriptor 34 Partition Descriptor 35 Logical Volume Descriptor 36 Unallocated Space Descriptor 37 Terminating Descriptor
38 to 47 Trailing Logical Sector (all 00h bytes)
Main Volume
Descriptor Sequence
Not Assigned
26著作權所有,非經工研院同意,不得翻印或轉載
UDF Bridge Volume Structure(cont.)UDF Bridge Volume Structure(cont.)
LSN Descriptors Structure LBN 48 Primary Volume Descriptor
(UDF) 49 Implementation Use Volume
Descriptor 50 Partition Descriptor 51 Logical Volume Descriptor 52 Unallocated SpaceDescriptor 53 Terminating Descriptor
54 to 63 Trailing Logical Sector (all 00h bytes)
Reserve Volume
Descriptor Sequence
Not Assigned
27著作權所有,非經工研院同意,不得翻印或轉載
UDF Bridge Volume Structure(cont.)UDF Bridge Volume Structure(cont.)
LSN Descriptors Structure LBN 64 Logical Volume Integrity
Descriptor 65 Terminating Descriptor
Logical Volume Integrity Sequence
66 to 255 Reserved (all 00h bytes) 256 Anchor Volume
Descriptor Pointer First Anchor
Point 257 to
p-1 Path Table / Directory Record
ISO 9660 File Structure
Not Assigned
28著作權所有,非經工研院同意,不得翻印或轉載
UDF Bridge Volume Structure(cont.)UDF Bridge Volume Structure(cont.)
LSN Descriptors Structure LBN
p to p+q-1
File Set Descriptor/ Terminating Descriptor/ File Identifier Descriptor/ File Entery
UDF File Structure
0 to q-1
p+q to Last
LSN-1
UDF / ISO 9660 Files
File Data Structure
q to Last_LBN
Last LSN
Anchor Volume Descriptor Pointer
Second Anchor Point
29著作權所有,非經工研院同意,不得翻印或轉載
3.1 Directory Structure3.1 Directory Structure
Example of Directory Structure
for DVD-Video and DVD-Audio
Root
VIDEO_TS
User defined
AUDIO_TS
30著作權所有,非經工研院同意,不得翻印或轉載
3.1 Directory Structure (cont.)3.1 Directory Structure (cont.)
VIDEO_TS
VIDEO_TS.IFOVIDEO_TS.VOB
VTS_01_0.VOB
VTS_01_1.VOB
VIDEO_TS.BUP
VTS_01_0.IFO
VTS_01_2.VOB
VTS_01_0.BUP
(VMGI)
(VMGM_VOBS)
(VMGI_BUP)
(VTSI)
(VTSM_VOBS)
(VTS_TT_VOBS)
(VTS_TT_VOBS)
(VTSI_BUP)
VMG (Video Manager)
VTS #1 (Video Title Set)
31著作權所有,非經工研院同意,不得翻印或轉載
3.1 Directory Structure (cont.)3.1 Directory Structure (cont.)
AUDIO_TS
AUDIO_TS.IFOAUDIO _TS.BUP
ATS_01_1.AOB
ATS_01_0.BUP
ATS_01_0.IFO
(AMGI)
(AMGI_BUP)
(ATSI)
(ATS_TT_AOBS)
(ATSI_BUP)
AMG (Audio Manager)
ATS (Audio Title
Set)
32著作權所有,非經工研院同意,不得翻印或轉載
DVD VIDEO Disc (Elton John Love Songs)
Directory of J:\
VIDEO_TS <DIR> 10-14-97 0:58 VIDEO_TS
0 file(s) 0 bytes
1 dir(s) 0.00 MB free
Directory of J:\VIDEO_TS
. <DIR> 10-14-97 0:58 .
.. <DIR> 10-14-97 0:58 ..
VIDEO_TS BUP 12,288 10-14-97 0:58 VIDEO_TS.BUP
VIDEO_TS IFO 12,288 10-14-97 0:58 VIDEO_TS.IFO
VIDEO_TS VOB 507,904 10-14-97 0:58 VIDEO_TS.VOB
VMG
33著作權所有,非經工研院同意,不得翻印或轉載
VTS_01_0 BUP 51,200 10-14-97 0:58 VTS_01_0.BUP
VTS_01_0 IFO 51,200 10-14-97 0:58 VTS_01_0.IFO
VTS_01_0 VOB 10,240 10-14-97 0:58 VTS_01_0.VOB
VTS_01_1 VOB 1,073,709,056 10-14-97 0:58 VTS_01_1.VOB
VTS_01_2 VOB 1,073,709,056 10-14-97 0:58 VTS_01_2.VOB
VTS_01_3 VOB 963,502,080 10-14-97 0:58 VTS_01_3.VOB
VTS_02_0 BUP 47,104 10-14-97 0:58 VTS_02_0.BUP
VTS_02_0 IFO 47,104 10-14-97 0:58 VTS_02_0.IFO
VTS_02_0 VOB 10,240 10-14-97 0:58 VTS_02_0.VOB
VTS_02_1 VOB 1,073,709,056 10-14-97 0:58 VTS_02_1.VOB
VTS_02_2 VOB 1,073,709,056 10-14-97 0:58 VTS_02_2.VOB
VTS_02_3 VOB 669,065,216 10-14-97 0:58 VTS_02_3.VOB
15 file(s) 5,653.53 MB
2 dir(s) 0.00 MB free
VTS #1
VTS #2
34著作權所有,非經工研院同意,不得翻印或轉載
3.2 Example of UDF File Structure3.2 Example of UDF File Structure
LBN Descriptors Structure 0 File Set Descriptor File Set Descriptor Sequence 1 Terminating Descriptor 2 File Entry ( Root Directory ) Root ICB 3 File Identifier Descriptor ( parent directory ) File Identifier Descriptor ( VIDEO_TS ) Root Directory File Identifier Descriptor ( AUDIO_TS )
4 File Entry ( VIDEO_TS ) VIDEO_TS ICB 5 File Identifier Descriptor ( parent directory ) File Identifier Descriptor ( VIDEO_TS.IFO ) File Identifier Descriptor ( VIDEO_TS.VOB ) File Identifier Descriptor ( VIDEO_TS.BUP ) File Identifier Descriptor ( VTS_01_0.IFO ) VIDEO_TS Directory File Identifier Descriptor ( VTS_01_0.VOB ) File Identifier Descriptor ( VTS_01_1.VOB ) File Identifier Descriptor ( VTS_01_0.VOB ) File Identifier Descriptor ( VTS_01_0.BUP )
35著作權所有,非經工研院同意,不得翻印或轉載
3.2 Example of UDF File Structure(cont.)
3.2 Example of UDF File Structure(cont.)
LBN Descriptors Structure 6 File Entry ( VIDEO_TS.IFO ) 7 File Entry ( VIDEO_TS.VOB ) 8 File Entry ( VIDEO_TS.BUP ) 9 File Entry ( VTS_01_0.IFO )
10 File Entry ( VTS_01_0.VOB ) 11 File Entry ( VTS_01_1.VOB ) 12 File Entry ( VTS_01_2.VOB ) 13 File Entry ( VTS_01_0.BUP )
VIDEO_TS Files ICB
36著作權所有,非經工研院同意,不得翻印或轉載
Find UDF File Set DescriptorFind UDF File Set Descriptor
NSRDescriptor
NSRDescriptor
Partition Descriptor
Partition Descriptor
Volume Recognition
Sequence
ANCHORANCHOR
Volume Descriptor Sequence
Logical Volume
Descriptor
Logical Volume
Descriptor
File Set Descriptor
File Set Descriptor+P
LBN
How to define P
37著作權所有,非經工研院同意,不得翻印或轉載
UDF File Reading ProcedureUDF File Reading Procedure
FSDFSD
FIDFID
FEFE
FIDFID
FIDFID
FIDFID
FEFE
FEFE
FEFE
FILEFILE
FEFE
FIDFID
FIDFID
FIDFID
Root Directory
ICB ICB ICB
Subdirectory
FEFE
FEFE
FEFE
38著作權所有,非經工研院同意,不得翻印或轉載
UDF File Reading Procedure(cont.)UDF File Reading Procedure(cont.)
39著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure
How to Read UDF Volume and File Structure
PROCEDURE 1. Volume Recognition Sequence
1. A volume recognition area shall start logical sector 16.
2. Find a NSR Descriptor in which the Standard Identifier field shall contain “NSR02”.
40著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 2. Anchor Point
1. Read the first Anchor Point located at logical sector 256 which specifies the location of a Main Volume Descriptor Sequence.
2. If the first Anchor Point couldn’t be read, read the second Anchor Point located at Last LSN.
41著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 3. Volume Descriptor Sequence
1. Read the Main Volume Descriptor Sequence, if this sequence couldn’t be read, a Reserve Volume Descriptor Sequence should be read.
2. Find the location of a File Set Descriptor which is specified in a Logical Volume Descriptor of the sequence.
3. Find the partition starting location (p) which is specified in a Partition Descriptor of the sequence.
42著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 4. File Set Descriptor
1. Read the File Set Descriptor.
2. Find the location and length of a File Entry (FE) describing a root directory.
43著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 5. Root directory File Entry
1. Read the root directory File Entry.
2. Find the attributes and location of root directory.
44著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 6. Root directory
1. Read the root directory which is consist of File Identifier Descriptors(FID).
2. Find the File Identifier Descriptor in which a File Identifier field identifies VIDEO_TS and a File Characteristics field specifies that the file is a directory.
3. Read the File Identifier Descriptor and find the location of File Entry describing the VIDEO_TS directory.
45著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 7. File Entry of VIDEO_TS directory
1. Read the File Entry of VIDEO_TS directory.
2. Find the location and length of the VIDEO_TS directory.
46著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 8. VIDEO_TS directory
1. Read the VIDEO_TS directory, which consists of File Identifier Descriptors (FID).
2. Find the File Identifier Descriptor in which a File Identifier field identifies VIDEO_TS.IFO and File Characteristics field specifies that the file is not a directory.
3. Read the File Identifier Descriptor and find the location of a File Entry describing the VIDEO_TS.IFO file.
47著作權所有,非經工研院同意,不得翻印或轉載
How to Read UDF Volume and File Structure (cont.)
How to Read UDF Volume and File Structure (cont.)
PROCEDURE 9. File Entry of VIDEO_TS.IFO
1. Read the File Entry of the VIDEO_TS.IFO .
2. Find the location of the VIDEO_TS.IFO file.
48著作權所有,非經工研院同意,不得翻印或轉載
2.4 UDF Bridge Volume Recognition Sequence
2.4 UDF Bridge Volume Recognition Sequence
[Volume Recognition Sequence]{ <CD-ROM Volume Descriptor Set> 1
[Extended Area]{
<Beginning Extended Area Descriptor> 1{<Volume Structure Descriptor>|<Boot Descriptor>}
n+<Terminating Extended Area Descriptor> 1
} 1}
49著作權所有,非經工研院同意,不得翻印或轉載
2.4.1 Beginning Extended Area Descriptor
2.4.1 Beginning Extended Area Descriptor
BP Length Field Name Contents 0 1 Structure Type Uint8 = 0 1 5 Structure Identifier bytes = “BEA01” 6 1 Structure Version Uint8 = 1 7 2041 Structure Data 00h bytes
Total = 2048 bytes
50著作權所有,非經工研院同意,不得翻印或轉載
2.4.2 NSR Descriptor (Non-Sequential-Recording)
2.4.2 NSR Descriptor (Non-Sequential-Recording)
BP Length Field Name Contents 0 1 Structure Type Uint8 = 0 1 5 Structure Identifier bytes = “NSR02” 6 1 Structure Version Uint8 = 1 7 1 Reserved 00h byte 8 2040 Structure Data 00h bytes
Total = 2048 bytes
51著作權所有,非經工研院同意,不得翻印或轉載
NSR Descriptor(LSN=13h)NSR Descriptor(LSN=13h)
52著作權所有,非經工研院同意,不得翻印或轉載
2.4.3 Terminating Extended Area Descriptor
2.4.3 Terminating Extended Area Descriptor
BP Length Field Name Contents 0 1 Structure Type Uint8 = 0 1 5 Structure Identifier bytes = “TEA01” 6 1 Structure Version Uint8 = 1 7 2041 Structure Data 00h bytes
Total = 2048 bytes
53著作權所有,非經工研院同意,不得翻印或轉載
2.5 Anchor Point2.5 Anchor Point
BP Length Field Name Contents 0 16 Descriptor Tag Tag ( Tag ID = 2 )
16 8 Main volume Descriptor Sequence Extent
extent_ad
24 8 Reserve Volume Descriptor Sequence Extent
extent_ad
32 480 Reserved 00h byte
Total = 512 bytes
54著作權所有,非經工研院同意,不得翻印或轉載
Anchor Point(LSN=100h)Anchor Point(LSN=100h)
55著作權所有,非經工研院同意,不得翻印或轉載
Descriptor Tag of Anchor PointDescriptor Tag of Anchor Point
56著作權所有,非經工研院同意,不得翻印或轉載
2.6 Volume Descriptor Sequence2.6 Volume Descriptor Sequence
[Volume Descriptor Sequence Extent]{
<Volume Descriptor> 5
[Terminator]
{
<Terminating Descriptor>
}
<Trailing Logical Sector> 0+
}
57著作權所有,非經工研院同意,不得翻印或轉載
2.6 Volume Descriptor Sequence (cont.)2.6 Volume Descriptor Sequence (cont.)
A volume descriptor shall be one of the following types :
1. Primary Volume Descriptor
2. Implementation Use Volume Descriptor
3. Partition Descriptor
4. Logical Volume Descriptor
5. Unallocated Space Descriptor
58著作權所有,非經工研院同意,不得翻印或轉載
Descriptor TagDescriptor Tag
RBP Length Name Contents 0 2 Tag Identifier Uint16 (ECMA167/1/7.1.3) 2 2 Descriptor Version Uint16 4 1 Tag CheckSum Uint8 (ECMA167/1/7.1.1) 5 1 Reserved #00 byte 6 2 Tag Serial Number Uint16 8 2 Descriptor CRC Uint16
10 2 Descriptor CRC Length Uint16 12 4 Tag Location Uint32 (ECMA167/1/7.1.5)
59著作權所有,非經工研院同意,不得翻印或轉載
Tag IdentifierTag Identifier
Tag_ID Interpretation 1 Primary Volume Descriptor ( ECMA167/3/10.1) 2 Anchor Volume Descriptor Pointer (ECMA167/3/10.2) 3 Volume Descriptor Pointer (ECMA167/3/10.3) 4 Implementation Use Volume Descriptor (ECMA167/3/10.4) 5 Partition Descriptor (ECMA167/3/10.5) 6 Logical Volume Descriptor (ECMA167/3/10.6) 7 Unallocated SpaceDescriptor (ECMA167/3/10.8) 8 Terminating Descriptor (ECMA167/3/10.9 and 4/14.2) 9 Logical Volume Integrity Descriptor (ECMA167/3/10.10)
60著作權所有,非經工研院同意,不得翻印或轉載
2.6.1 Primary Volume Descriptor (UDF)
2.6.1 Primary Volume Descriptor (UDF)
BP Length Field Name Contents 0 16 Descriptor Tag Tag (Tag Identifier =1 )
16 4 Volume Descriptor Sequence Number
LB32
20 4 Primary Volume Descriptor Number LB32 24 32 Volume Identifier dstring 56 2 Volume Sequence Number LB16=1 (DVD-ROM) 58 2 Maximum Volume Sequence Number LB16=1 (DVD-ROM) 60 2 Interchange Level LB16=2 (DVD-ROM) 62 2 Maximum Interchange Level LB16=2 (DVD-ROM) 64 4 Character Set Identifier LB32=1 (UDF 2.2.2.3) 68 4 Maximum Character Set Identifier LB32=1 (UDF 2.2.2.3) 72 128 Volume Set Identifier dstring
200 64 Descriptor Character Set Charspec(UDF 2.1.2) 264 64 Explanatory Character Set Charspec(UDF 2.1.2)
61著作權所有,非經工研院同意,不得翻印或轉載
2.6.1 Primary Volume Descriptor (UDF) (cont.)
2.6.1 Primary Volume Descriptor (UDF) (cont.)
BP Length Field Name Contents 328 8 Volume Abstract extent_ad 336 8 Volume Copyright Notice extent_ad 344 32 Application Identifier EntityID 376 12 Recording Date and Time timestamp 388 32 Implementation Identifier EntityID(see UDF 2.1.5) 420 64 Implementation Use bytes 484 4 Predecessor Volume Descriptor
Sequence Location LB32
488 2 Flags LB16 490 22 Reserved 00h bytes
62著作權所有,非經工研院同意,不得翻印或轉載
Primary Volume Descriptor(LSN=20h)Primary Volume Descriptor(LSN=20h)
63著作權所有,非經工研院同意,不得翻印或轉載
2.6.2 Implementation Use Volume Descriptor
2.6.2 Implementation Use Volume Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag tag (Tag Identifier = 4 )
16 4 Volume Descriptor Sequence Number
LB32
20 32 Implementation Identifier
EntityID (see UDF 2.1.5 and 2.2.7.1)
52 460 Implementation Use bytes (see 2.6.3)
Total = 512 bytes
64著作權所有,非經工研院同意,不得翻印或轉載
2.6.3 Implementation Use field2.6.3 Implementation Use field
RBP Length Field Name Contents 0 64 LVI Charset Charspec (see UDF 2.1.2) 64 128 Logical VolumeIdentifier dstring
192 36 LV Info1 dstring 228 36 LV Info2 dstring 264 36 LV Info3 dstring 300 32 Implementation ID EntityID (see UDF 2.1.5) 332 128 Implementation Use bytes
Total = 460bytes
65著作權所有,非經工研院同意,不得翻印或轉載
Implementation Use Volume Descriptor(LSN=21h)
Implementation Use Volume Descriptor(LSN=21h)
66著作權所有,非經工研院同意,不得翻印或轉載
2.6.4 Partition Descriptor2.6.4 Partition Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag Tag ( Tag Identifier = 5 )
16 4 Volume Descriptor Sequence Number
LB32
20 2 Partition Flags LB16 22 2 Partition Number LB16 24 32 Partition Contents EntityID 56 128 Partition Contents Use Bytes
184 4 Access Type LB32 = 1 (DVD-ROM) 188 4 Partition Starting Location LB32 192 4 Partition Length LB32 196 32 Implementation Identifier EntityID 228 128 Implementation Use Bytes 356 156 Reserved 00h bytes
67著作權所有,非經工研院同意,不得翻印或轉載
2.6.5 Partition Contents field2.6.5 Partition Contents field
RBP Length Field Name Contents 0 1 Flags Uint8 = 00000010b (DVD-ROM) 1 23 Identifier bytes = “+NSR02” (DVD-ROM)
24 8 Identifier Suffix bytes
Total = 32 bytes
68著作權所有,非經工研院同意,不得翻印或轉載
2.6.6 Partition Header Descriptor of Partition Contents Use field
2.6.6 Partition Header Descriptor of Partition Contents Use field
RBP Length Field Name Contents 0 8 Unallocated Space Table Short_ad = all 0’s (DVD-ROM) 8 8 Unallocated Space Bitmap Short_ad = all 0’s (DVD-ROM)
16 8 Partition Integrity Table Short_ad = all 0’s (UDF 2.3.3.1) 24 8 Freed Space Table Short_ad = all 0’s (DVD-ROM) 32 8 Freed Space Bitmap Short_ad = all 0’s (DVD-ROM) 40 88 Reserved 00h bytes
Total = 128 bytes
69著作權所有,非經工研院同意,不得翻印或轉載
Partition Descriptor(LSN=22h)Partition Descriptor(LSN=22h)
70著作權所有,非經工研院同意,不得翻印或轉載
2.6.7 Logical Volume Descriptor2.6.7 Logical Volume DescriptorBP Length Field Name Contents 0 16 Descriptor Tag Tag(Tag Identifier = 6 ) 16 4 Volume Descriptor Sequence Number LB32 20 64 Descriptor Character Set charspec 84 128 Logical Volume Identifier dstring
212 4 Logical Block Size LB32 = 2048 216 32 Domain Identifier EntityID 248 16 Logical Volume Contents Use long_ad 264 4 Map Table Length LB32 = 6 268 4 Number of Partition Maps LB32 = 1 272 32 Implementation Identifier EntityID 304 128 Implementation Use bytes 432 8 Integrity Sequence Extent extent_ad 440 6 Partition Map(s) bytes
71著作權所有,非經工研院同意,不得翻印或轉載
Logical Volume Descriptor (LSN=23h)Logical Volume Descriptor (LSN=23h)
72著作權所有,非經工研院同意,不得翻印或轉載
2.6.8 Type 1 Partition Map2.6.8 Type 1 Partition Map
RBP Length Field Name Contents 0 1 Partition Map Type Uint8 = 1 (UDF2.2.4.6) 1 1 Partition Map Length Uint8 = 6 2 2 Volume Sequence Number LB16 = 1 (DVD-ROM) 4 2 Partition Number LB16
Total = 6 bytes
73著作權所有,非經工研院同意,不得翻印或轉載
2.6.9 Unallocated Space Descriptor2.6.9 Unallocated Space Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag tag ( Tag Identifier = 7 )
16 4 Volume Descriptor Sequence Number
LB32
20 4 Number of Allocation Descriptor
LB32 = 0 (DVD-ROM)
24 0 Allocation Descriptors Extent_ad
Total = 24 bytes
74著作權所有,非經工研院同意,不得翻印或轉載
2.6.10 Terminating Descriptor2.6.10 Terminating Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag Tag ( Tag Identifier =8 )
16 496 Reserved 00h bytes
Total = 512 bytes
75著作權所有,非經工研院同意,不得翻印或轉載
2.7 Logical Volume Integrity Sequence2.7 Logical Volume Integrity Sequence
[Logical Volume Integrity Descriptor Sequence Extent]
{
<Close Logical Volume Integrity Descriptor> 1+
[Terminator]
{
<Terminating Descriptor> | <empty logical sector>
} 0+
} 1
76著作權所有,非經工研院同意,不得翻印或轉載
2.7.1 Logical Volume Integrity Descriptor2.7.1 Logical Volume Integrity Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag Tag(Tag Identifier = 9 )
16 12 Recording Date timestamp 28 4 Integrity Type LB32 = 1(DVD-ROM) 32 8 Next Integrity Extent Extent_ad=0h(DVD-ROM) 40 32 Logical Volume Contents Use (2.7.2) bytes 72 4 Number of Partitions LB32 = 1(DVD-ROM) 76 4 Length of Implementation Use(L_IU) LB32 80 4 Free Space Table LB32 = 0(DVD-ROM) 84 4 Size Table LB32 88 L_IU Implementation Use (2.7.3) bytes
Total = 88+L_IU bytes
77著作權所有,非經工研院同意,不得翻印或轉載
2.7.2 Logical Volume Header Descriptor of Logical Volume Contents Use field
2.7.2 Logical Volume Header Descriptor of Logical Volume Contents Use field
RBP Length Field Name Contents 0 8 Unique ID LB64 8 24 Reserved 00h bytes
Total = 32 bytes
78著作權所有,非經工研院同意,不得翻印或轉載
2.7.3 Implementation Use field2.7.3 Implementation Use field
RBP Length Field Name Contents 0 32 Implementation ID Entity ID (UDF 2.1.5)
32 4 Number of Files LB32 36 4 Number of Directories LB32 40 2 Minimum UDF Read Revision LB16 42 2 Minimum UDF Write Revision LB16 44 2 Maximum UDF Write Revision LB16 46 a Implementation Use bytes
a = L_IU – 46
Total = L_IU bytes
79著作權所有,非經工研院同意,不得翻印或轉載
2.8 CD-ROM Volume Descriptor Set2.8 CD-ROM Volume Descriptor Set
[CD-ROM Volume Descriptor Sequence]
{
<CD-ROM Volume Descriptor> 1+
[Terminator]
{
<Volume Descriptor Set Terminator> 1+
}
}
80著作權所有,非經工研院同意,不得翻印或轉載
2.8 CD-ROM Volume Descriptor Set (cont.)
2.8 CD-ROM Volume Descriptor Set (cont.)
A CD-ROM Volume Descriptor shall be one of the following types:
1. Primary Volume Descriptor.
2. Supplementary Volume Descriptor.(ISO9660 8.5)
3. Volume Descriptor Set Terminator.
4. Boot Record.(ISO9660 8.2)
5. Volume Partition Descriptor.( ISO9660 8.6)
81著作權所有,非經工研院同意,不得翻印或轉載
2.8.1 Primary Volume Descriptor (ISO9660)2.8.1 Primary Volume Descriptor (ISO9660)
BP Length Field Name Contents 0 1 Volume Descriptor Type UINT8 =1 1 5 Standard Identifier Bytes = “CD001” 6 1 Volume Descriptor Version UINT8 =1 7 1 Unused Field 00h bytes 8 32 System Identifier a-characters
40 32 Volume Identifier d-characters 72 8 Unused Field 00h bytes 80 8 Volume Space Size BB32 88 32 Unused Field 00h bytes
82著作權所有,非經工研院同意,不得翻印或轉載
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
BP Length Field Name Contents 120 4 Volume Set Size BB16=1 (DVD-ROM) 124 4 Volume Sequence Number BB16=1 (DVD-ROM) 128 4 Logical Block Size BB16=2048 (DVD-ROM) 132 8 Path Table Size BB32 140 4 Location of Occurrence of Type
L Path Table LB32
144 4 Location of Optional Occurrence of Type L Path Table
LB32
148 4 Location of Occurrence of Type M Path Table
MB32
152 4 Location of Optional Occurrence of Type M Path Table
MB32
83著作權所有,非經工研院同意,不得翻印或轉載
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
BP Length Field Name Contents 156 34 Directory Record for Root
Directory bytes
190 128 Volume Set Identifier d-characters 318 128 Publisher Identifier a-characters 446 128 Data Preparer Identifier a-characters 574 128 Application Identifier a-characters 702 37 Copyright File Identifier d-characters,
separator 1, separator 2 739 37 Abstract File Identifier d-characters,
separator 1, separator 2 776 37 Bibliographic File Identifier d-characters,
separator 1, separator 2
84著作權所有,非經工研院同意,不得翻印或轉載
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
2.8.1 Primary Volume Descriptor (ISO9660) (cont.)
BP Length Field Name Contents 813 17 Volume Creation Date and Time Digits 830 17 Volume Modification Date and Time Digits 847 17 Volume Expiration Date and Time Digits 864 17 Volume Effective Date and Time Digits 881 1 File Structure Version Uint8 = 1 882 1 Reserved 00h bytes 883 512 Application Use Not specified
1395 653 Reserved 00h bytes
Total = 2048 bytes
85著作權所有,非經工研院同意,不得翻印或轉載
Example of ISO9660 PVD(LBN=10h)Example of ISO9660 PVD(LBN=10h)
86著作權所有,非經工研院同意,不得翻印或轉載
Volume Descriptor TypeVolume Descriptor Type
• 0 : Boot Record
• 1 : Primary Volume Descriptor
• 2 :Supplementary Volume Descriptor
• 3 :Volume Partition Descriptor
• 255 :Volume Descriptor Set Terminator
87著作權所有,非經工研院同意,不得翻印或轉載
2.8.2 Volume Descriptor Set Terminator2.8.2 Volume Descriptor Set Terminator
BP Length Field Name Contents 0 1 Volume Descriptor Type Uint8 =255 1 5 Standard Identifier bytes = “CD001” 6 1 Volume Descriptor Version Uint8 = 1 7 2041 Reserved 00h bytes
Total = 2048 bytes
88著作權所有,非經工研院同意,不得翻印或轉載
3.3 UDF File Set Descriptor Sequence3.3 UDF File Set Descriptor Sequence
[File Set Descriptor Sequence Extent]
{
<File Set Descriptor> 1
[Terminator]
{
<Terminating Descriptor > | <empty logical block >
} 0+
}
89著作權所有,非經工研院同意,不得翻印或轉載
3.3.1 File Set Descriptor3.3.1 File Set Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag tag(Tag ID = 256 ) 16 12 Recording Date and Time timestamp 28 2 Interchange Level LB16 = 3 30 2 Maximum Interchange Level LB16 = 3 32 4 Character Set List LB32 = 00000001h 36 4 Maximum Character Set List LB32 = 00000001h 40 4 File Set Number LB32 = 0 44 4 File Set descriptor Number LB32 = 0 48 64 Logical Volume Identifier
Character Set charaspec
112 128 Logical Volume Identifier dstring
90著作權所有,非經工研院同意,不得翻印或轉載
3.3.1 File Set Descriptor (cont.)3.3.1 File Set Descriptor (cont.)
BP Length Field Name Contents 240 64 File Set Character Set charaspec 304 32 File Set Identifier dstring 336 32 Copyright File Identifier dstring 368 32 Abstract File Identifier dstring 400 16 Root Directory ICB long_ad 416 32 Domain Identifier EntityID 448 16 Next Extent long_ad = all 0’s 464 1584 Reserved 00h bytes
Total = 2048 bytes
91著作權所有,非經工研院同意,不得翻印或轉載
File Set Descriptor (LSN=105h) page1File Set Descriptor (LSN=105h) page1
92著作權所有,非經工研院同意,不得翻印或轉載
File Set Descriptor (LSN=105h) page2File Set Descriptor (LSN=105h) page2
93著作權所有,非經工研院同意,不得翻印或轉載
3.3.2 Terminating Descriptor3.3.2 Terminating Descriptor
BP Length Field Name Contents 0 16 Descriptor Tag Tag ( Tag Identifier =8 )
16 496 Reserved 00h bytes
Total = 512 bytes
94著作權所有,非經工研院同意,不得翻印或轉載
3.4.1 File Identifier Descriptor3.4.1 File Identifier Descriptor
RBP Length Field Name Contents 0 16 Descriptor Tag tag ( Tag ID = 257 )
16 2 File Version Number LB16 = 1 18 1 File Characteristics Uint8 19 1 Length of File Identifier(=L_FI) Uint8 20 16 ICB long_ad 36 2 Length of Implementation Use
( L_IU ) LB16
38 L_IU Implementation Use EntityID a L_FI File Identifier d-characters b c Padding 00h bytes
a=L_IU+38
b=L_FI+L_IU+38
c=4*ip((L_FI+L_IU+38+3)/4)-( L_FI+L_IU+38)
95著作權所有,非經工研院同意,不得翻印或轉載
3.5.1 File Entry3.5.1 File Entry
BP Length Field Name Contents 0 16 Descriptor Tag tag(Tag Identifier = 261)
16 20 ICB Tag (3.5.2) icbtag 36 4 Uid LB32 40 4 Gid LB32 44 4 Permissions (3.5.4) LB32 48 2 File Link Count LB16 50 1 Recorded Format Uint8 = 0 51 1 Recorded Display Attributes Uint8 = 0 52 4 Record Length LB32 = 0 56 8 Information Length LB64 64 8 Logical Block Recorded LB64
96著作權所有,非經工研院同意,不得翻印或轉載
3.5.1 File Entry (cont.)3.5.1 File Entry (cont.)BP Length Field Name Contents 72 12 Access Time timestamp 84 12 Modification Time timestamp 96 12 Attribute Time timestamp
108 4 Checkpoint LB32=1 112 16 Extended Attribute ICB long_ad = all 0’s 128 32 Implementation Identifier EntityID 160 8 Unique Id LB64 168 4 Length of Extended Attributes
(L_EA) LB32 = 0
172 4 Length of Allocation Descriptors (L_AD)
LB32 = 8
176 L_EA Extended Attributes (3.6) bytes a L_AD Allocation Descriptors bytes
a = L_EA + 176
97著作權所有,非經工研院同意,不得翻印或轉載
File Entry of Root Dir.(LSN=107h) page1File Entry of Root Dir.(LSN=107h) page1
98著作權所有,非經工研院同意,不得翻印或轉載
File Entry of Root Dir.(LSN=107h) page2File Entry of Root Dir.(LSN=107h) page2
99著作權所有,非經工研院同意,不得翻印或轉載
3.5.2 ICB Tag3.5.2 ICB Tag
RBP Length Field Name Contents 0 4 Prior Recorded Number of Direct Entries LB32 4 2 Strategy Type LB16 6 2 Strategy Parameter LB16 8 2 Maximum Number of Entries LB16
10 1 Reserved 00h bytes 11 1 File Type Uint8 12 6 Parent ICB Location lb_addr 18 2 Flags (see 3.5.3) LB16
100著作權所有,非經工研院同意,不得翻印或轉載
3.5.3 Flags field in ICB Tag3.5.3 Flags field in ICB Tag
Bit Description Contents 0-2 Type of Allocation Descriptor 0 3 Directory Sort 0 4 Non-relocatable 0 or 1 5 Archive 0 or 1 6 Setuid 0 or 1 7 Setgid 0 or 1 8 Sticky 0 or 1 9 Contiguous 0 or 1
10 System 0 or 1 11 Transformed 0 12 Multi-versions 0
13-15 Reserved 0
101著作權所有,非經工研院同意,不得翻印或轉載
3.5.4 Permissions field in File Entry3.5.4 Permissions field in File EntryBit Description Contents 0 Other Execute 0 or 1 1 Other Write 0 2 Other Read 0 or 1 3 Other Change Attribute 0 4 Other Delete 0 5 Group Execute 0 or 1 6 Group Write 0 7 Group Read 0 or 1 8 Group Change Attribute 0 9 Group Delete 0
10 Owner Execute 0 or 1 11 Owner Write 0 12 Owner Read 0 or 1 13 Owner Change Attribute 0 14 Owner Delete 0
15-31 Reserved 0
102著作權所有,非經工研院同意,不得翻印或轉載
3.6.1 Extended Attribute Header Descriptor
3.6.1 Extended Attribute Header Descriptor
RBP Length Field Name Contents 0 16 Descriptor Tag tag(Tag ID = 262)
16 4 Implementation Attributes Location
LB32
20 4 Application Attributes Location LB32
Total = 24 bytes
103著作權所有,非經工研院同意,不得翻印或轉載
3.6.2 Implementation Use Extended Attribute
3.6.2 Implementation Use Extended Attribute
RBP Length Field Name Contents 0 4 Attribute Type LB32 = 2048 4 1 Attribute Subtype Uint8 = 1 5 3 Reserved 00h bytes 8 4 Attribute Length LB32
12 4 Implementation Use Length LB32 16 32 Implementation Identifier EntityID(UDF2.1.5) 48 IU_L Implementation Use bytes
104著作權所有,非經工研院同意,不得翻印或轉載
3.6.3 Free Extended Attribute Space of Implementation Use field
3.6.3 Free Extended Attribute Space of Implementation Use field
RBP Length Field Name Contents 0 2 Header Checksum (UDF 3.3.4.5) LB16 2 2 Free EA Space bytes = 0
Total = 4 bytes
105著作權所有,非經工研院同意,不得翻印或轉載
3.6.4 Copyright Management Information of Implementation Use field
3.6.4 Copyright Management Information of Implementation Use field
RBP Length Field Name Contents 0 2 Header Checksum (UDF 3.3.4.5) LB16 2 1 CGMS Information byte 3 1 Data Structure Type Uint8 4 4 Protection System Information bytes
Total = 8 bytes
106著作權所有,非經工研院同意,不得翻印或轉載
Root Directory(LSN=108h) page1Root Directory(LSN=108h) page1
Ref. p.80 3.4.1 File Identifier
Descriptor
107著作權所有,非經工研院同意,不得翻印或轉載
Root Directory(LSN=108h) page2Root Directory(LSN=108h) page2
108著作權所有,非經工研院同意,不得翻印或轉載
Root Directory(LSN=108h) page3Root Directory(LSN=108h) page3
109著作權所有,非經工研院同意,不得翻印或轉載
File Entry of VIDEO_TS (LSN=109h) page1File Entry of VIDEO_TS (LSN=109h) page1
110著作權所有,非經工研院同意,不得翻印或轉載
File Entry of VIDEO_TS (LSN=109h) page2File Entry of VIDEO_TS (LSN=109h) page2
111著作權所有,非經工研院同意,不得翻印或轉載
VIDEO_TS Dir.(LSN=10Ah) page1VIDEO_TS Dir.(LSN=10Ah) page1
112著作權所有,非經工研院同意,不得翻印或轉載
VIDEO_TS Dir.(LSN=10Ah) page2VIDEO_TS Dir.(LSN=10Ah) page2
113著作權所有,非經工研院同意,不得翻印或轉載
File Entry:VIDEO_TS.IFO(LSN=10Ch) page1File Entry:VIDEO_TS.IFO(LSN=10Ch) page1
114著作權所有,非經工研院同意,不得翻印或轉載
File Entry:VIDEO_TS.IFO(LSN=10Ch) page2File Entry:VIDEO_TS.IFO(LSN=10Ch) page2
115著作權所有,非經工研院同意,不得翻印或轉載
VIDEO_TS.IFO(LSN=11Ah)VIDEO_TS.IFO(LSN=11Ah)
116著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 StructureISO9660 Structure
117著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 L-Type Path Table(LBN=16h)ISO9660 L-Type Path Table(LBN=16h)
118著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 M-Type Path Table(LBN=14h)
ISO9660 M-Type Path Table(LBN=14h)
119著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 Root Dir. Descriptor(LBN=18h)ISO9660 Root Dir. Descriptor(LBN=18h)
120著作權所有,非經工研院同意,不得翻印或轉載
File FlagsFile Flags
• Bit 0 : Existence • Bit 1 : Directory• Bit 2 : Associated File• Bit 3 : Record • Bit 4 : Protection• Bit 5 ~6 : Reserved• Bit 7 : Multi-extent
121著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 Dir. Record(LBN=1Ah)ISO9660 Dir. Record(LBN=1Ah)
122著作權所有,非經工研院同意,不得翻印或轉載
File(Makefile)(LBN=AAh)File(Makefile)(LBN=AAh)
123著作權所有,非經工研院同意,不得翻印或轉載
3.7 ISO9660 Directory Structure and Path Table
3.7 ISO9660 Directory Structure and Path Table
LSN Contents Type L Path Table Record for Root Directory Type L Path Table Record for AUDIO_TS
257
Type L Path Table Record for VIDEO_TS
Type L Path Table
Type M Path Table Record for Root Directory Type M Path Table Record for AUDIO_TS
258
Type M Path Table Record for VIDEO_TS
Type M Path Table
Directory Record for Root Directory (1st) Directory Record for Root Directory (2 nd) Directory Record for AUDIO_TS
259
Directory Record for VIDEO_TS
Directory Records of
Root
124著作權所有,非經工研院同意,不得翻印或轉載
3.7 ISO9660 Directory Structure and Path Table (cont.)
3.7 ISO9660 Directory Structure and Path Table (cont.)
LSN Contents Directory Record for VIDEO_TS Directory Record for Parent Directory Directory Record for VIDEO_TS.BUP Directory Record for VIDEO_TS.IFO Directory Record for VIDEO_TS.VOB Directory Record for VTS_01_0.BUP Directory Record for VTS_01_0.IFO Directory Record for VTS_01_0.VOB Directory Record for VTS_01_1.VOB
260
Directory Record for VTS_01_2.VOB
Directory Records
of VIDEO_TS
125著作權所有,非經工研院同意,不得翻印或轉載
3.7 ISO9660 Directory Structure and Path Table (cont.)
3.7 ISO9660 Directory Structure and Path Table (cont.)
LSN Contents Directory Record for AUDIO_TS Directory Record for Parent Directory Directory Record for ATS_01_0.BUP Directory Record for ATS_01_0.IFO Directory Record for ATS_01_1.AOB Directory Record for AUDIO_TS.BUP
261
Directory Record for AUDIO_TS.IFO
Directory Records
of AUDIO_TS
126著作權所有,非經工研院同意,不得翻印或轉載
3.7.1 Directory Record3.7.1 Directory Record
RBP Length Field Name Contents 0 1 Length of Directory Record
(LEN_DR) Uint8
1 1 Extended Attribute Record Length Uint8 2 8 Location of Extent BB32
10 8 Data Length BB32 18 7 Recording Date and Time Numerical value 25 1 File Flags 8 bits 26 1 File Unit Size Uint8 27 1 Interleave Gap Size Uint8 28 4 Volume Sequence Number BB16 = 1
127著作權所有,非經工研院同意,不得翻印或轉載
3.7.1 Directory Record (cont.)3.7.1 Directory Record (cont.)
RBP Length Field Name Contents 32 1 Length of File Identifier
(LEN_FI) Uint8
33 LEN_FI File Identifier d-characters, d1-characters, SEPARATOR 1, SEPARATOR 2, 00h or 01h byte
a b Padding 00h byte c d System Use (3.7.2) bytes
a = 33 + LEN_FI b = 0 if the length if the File Identifier field is an odd number. b = 1 if the length if the File Identifier field is an even number. c = a+b d = LEN_DR - c
128著作權所有,非經工研院同意,不得翻印或轉載
3.7.2 Copyright Management Information of System Use field
3.7.2 Copyright Management Information of System Use field
Total = 6 bytes
RBP Length Field Name Contents 0 1 CGMS Information byte 1 1 Data Structure Type Uint8 2 4 Protection System Information bytes
129著作權所有,非經工研院同意,不得翻印或轉載
3.7.3 Path Table Record3.7.3 Path Table Record
RBP Length Field Name Contents 0 1 Length of Directory Identifier
(LEN_DI) Uint8
1 1 Extended Attribute Record Length
Uint8
2 4 Location of Extent LB32 or MB32 6 2 Parent Directory Number LB16 or MB16 8 LEN_DI Directory Identifier d-characters,
d1-characters, 00h byte
a b Padding 00h byte
a = 8 + LEN_DI b = 0 if the Length of Directory Identifier field is even number. b = 1 if the Length of Directory Identifier field is an odd number.
130著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 File Reading Procedure(1)ISO9660 File Reading Procedure(1)
PTR (VIDEO_TS)PTR (VIDEO_TS)
PTR (Root)PTR (Root)PATH
TABLELocation
PATH TABLELocation
PTR (AUDIO_TS)PTR (AUDIO_TS)
Primary Volume
Descriptor
PATH TABLE
DR (VIDEO_TS)DR (VIDEO_TS)
DR (Parent)DR (Parent)
VIDEO_TS.IFOVIDEO_TS.IFO
DR (VIDEO_TS.BUP)DR (VIDEO_TS.BUP)
DR (VIDEO_TS.IFO)DR (VIDEO_TS.IFO)
DR (VIDEO_TS.VOB)DR (VIDEO_TS.VOB)
VIDEO_TS Directory
VIDEO_TS.VBOVIDEO_TS.VBO
VIDEO_TS.BUPVIDEO_TS.BUP
Files
131著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 File Reading Procedure(2)ISO9660 File Reading Procedure(2)
DRfor
Root Directory
DRfor
Root Directory
Primary Volume
Descriptor
DR (Root)DR (Root)
DR (Root)DR (Root)
VIDEO_TS.IFOVIDEO_TS.IFO
DR (AUDIO_TS)DR (AUDIO_TS)
DR (VIDEO_TS)DR (VIDEO_TS)
Root Directory
VIDEO_TS.VBOVIDEO_TS.VBO
DR (VIDEO_TS)DR (VIDEO_TS)
DR (Parent)DR (Parent)
DR (VIDEO_TS.BUP)DR (VIDEO_TS.BUP)
DR (VIDEO_TS.IFO)DR (VIDEO_TS.IFO)
DR (VIDEO_TS.VOB)DR (VIDEO_TS.VOB)
VIDEO_TS Directory
VIDEO_TS.BUPVIDEO_TS.BUP
Files
132著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 L-Type Path Table(LBN=101h)ISO9660 L-Type Path Table(LBN=101h)
133著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 L-Type Path Table(LBN=101h)ISO9660 L-Type Path Table(LBN=101h)
134著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 M-Type Path Table(LBN=102h)ISO9660 M-Type Path Table(LBN=102h)
135著作權所有,非經工研院同意,不得翻印或轉載
ISO9660 M-Type Path Table(LBN=102h)ISO9660 M-Type Path Table(LBN=102h)
136著作權所有,非經工研院同意,不得翻印或轉載
File System Write CodeFile System Write Code
• Show UDF1.02 Write to Disc Source Code
• Show ISO9660 Write to Disc Source Code
137著作權所有,非經工研院同意,不得翻印或轉載
Q&AQ&A
Recommended