ISO 9660: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m →‎Volume Descriptors: Applied a more logical structure.
Line 27:
 
== Volume Descriptors ==
 
When preparing to mount a CD, your first action will be reading the volume descriptors (specifically, you will be looking for the Primary Volume Descriptor).
 
Line 49 ⟶ 50:
 
=== Volume Descriptor Type Codes ===
 
{| {{wikitable}}
! Value
Line 68 ⟶ 70:
When starting out with a basic CD, we are going to be interested in the Primary Volume Descriptor, which points us to the root directory and path tables, which both allow us to find any file on the CD. Using the path table is ideal for minimal implementations which do not wish to search the directory hierarchy node by node. This is slower (string comparisons across the entire filesystem) but easier to implement.
 
=== VolumeThe DescriptorBoot Set TerminatorRecord ===
The Volume Descriptor Set Terminator does not currently define bytes 7-2047 of its Volume Descriptor. This means that the only fields in use for the volume set terminator are the type code (255), the standard identifier ('CD001') and the descriptor version (0x01).
 
=== The Boot Record ===
The first type of Volume Descriptor is the "Boot Record". The descriptor format is as follows:
 
Line 95:
 
=== The Primary Volume Descriptor ===
 
This is a lengthy descriptor, but it contains some very useful information for reading the rest of the file system.
 
{| {{wikitable}}
! Offset
Line 170 ⟶ 172:
 
==== Date and Time Format ====
 
The date / time format used in the Primary Volume Descriptor is:
 
Line 195 ⟶ 198:
 
All fields except for the offset from GMT are in ASCII digits. An unspecified date and time is represented by 16 '0' digits, followed by a zero in the last field.
 
 
=== Volume Descriptor Set Terminator ===
 
The Volume Descriptor Set Terminator does not currently define bytes 7-2047 of its Volume Descriptor. This means that the only fields in use for the volume set terminator are the type code (255), the standard identifier ('CD001') and the descriptor version (0x01).
 
== The Path Table ==