ISO 9660 is the standard file system of data CD-ROMs and DVD-ROMs and of ISO image files, with Joliet (long Unicode names) and Rock Ridge (POSIX metadata) extensions. It remains the base for bootable installer images, while UDF handles larger and rewritable discs.
Overview
ISO 9660 (ECMA-119) begins with a system area of 16 sectors followed by a sequence of volume descriptors in 2048-byte logical blocks, each carrying the identifier CD001. The primary volume descriptor locates the root directory record and the path tables. Directories are sequences of variable-length records that point to contiguous file extents, so there is no allocation table.
Two extensions add long names and metadata. Joliet adds a supplementary volume descriptor with UCS-2 names. Rock Ridge stores POSIX names, permissions, links and symbolic links in system-use fields of each directory record. El Torito boot catalogs make discs bootable.
History
Standardized as ECMA-119 in 1987 and ISO 9660 in 1988, derived from the High Sierra format.
Rock Ridge was proposed in 1993; Joliet appeared with Windows 95.
El Torito bootable CD specification: 1995.
Structures
Offsets are in bytes from the start of the structure named in each heading. Field names are descriptive and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.
Boot Image
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1E
1
u8
–
0x1F
1
u8
–
0x20
32
bytes
Entry
Boot Image
Offset
Size
Type
Field
Notes
0x0
1
u8
Name
0x1
1
u8
Edia
0x6
2
u16 LE
Sectors
0x8
4
u32 LE
Rba
Iso9660 File System
Offset
Size
Type
Field
Notes
0x2
4
u32 LE
Module State
0xA
4
u32 LE
Module State
0x12
7
bytes
Modified
List Children
Offset
Size
Type
Field
Notes
0x1
1
u8
Extent
extended attribute record comes first
0x1
1
u8
–
0x2
4
u32 LE
Extent
extended attribute record comes first
0xA
4
u32 LE
Size
0x12
7
bytes
Modified
0x19
1
u8
Flags
0x20
1
u8
Name Length
Read Descriptors
Offset
Size
Type
Field
Notes
0x28
32
bytes
Label
0x50
4
u32 LE
Total Bytes
0x80
2
u16 LE
Size
0x32D
16
bytes
Volume Serial
Read Descriptors
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1
5
bytes
Id
0x7
23
bytes
–
0x58
1
u8
–
0x59
1
u8
–
0x5A
1
u8
–
0x9C
1
u8
–
Read Sessions
Offset
Size
Type
Field
Notes
0x0
1
u8
–
0x1
5
bytes
–
Volume Details
Offset
Size
Type
Field
Notes
0x8
32
bytes
–
0xBE
128
bytes
–
0x13E
128
bytes
–
0x1BE
128
bytes
–
0x23E
128
bytes
–
0x32D
17
bytes
–
Probe
Offset
Size
Type
Field
Notes
0x28
32
bytes
Description
0x50
4
u32 LE
Blocks
Rock Ridge
Offset
Size
Type
Field
Notes
0x4
4
u32 LE
Mode
0x4
4
u32 LE
Child Link
0x4
4
u32 LE
Block
0x4
1
u8
–
0x4
1
u8
Tflags
0xC
4
u32 LE
Offset
0x14
4
u32 LE
Uid
0x14
4
u32 LE
Length
0x1C
4
u32 LE
Gid
q + 1
1
u8
Clen
Other fields read
Read in
Offset
Size
Type
Field
Notes
Boot Image
0x47
4
u32 LE
Catalog
Iso9660 File System
0x9C
34
bytes
Root Record
Read Dot Length
0xA
4
u32 LE
–
Read Sessions
0x50
4
u32 LE
Size
Root Rock Ridge
0x9C
34
bytes
Root
Root Rock Ridge
0x2
4
u32 LE
Extent
Session Device
0x2
4
u32 LE
–
Session Device
0x9E
4
u32 LE
Root
Constants
Implementation limits
Class
Name
Value
Notes
Iso9660 Module
SectorBytes
2048
Signatures and magic strings referenced
Text
Where checked
CD001
Read Sessions
NSR02
Read Descriptors
NSR03
Read Descriptors
BEA01
Read Descriptors
TEA01
Read Descriptors
BOOT2
Read Descriptors
EL TORITO SPECIFICATION
Read Descriptors
Structures and constants were extracted from the implementation. Prose sections are a summary from public sources; verify details before relying on them.