| www.rodneybeede.com | "I would love to change the world, but they won't give me the source code" - unknown |
I want the longer filename support so I can burn things to CD without having to worry about truncation of long names. This commonly happens with photos and MP3's.
I thought about modifying the source to mkisofs, but it doesn't provide true UDF support.
So I've been reading the specification for the UDF file system along with some helpful sites on how to parse through it. Below is a table of what I've understood thus far from the specification. I can't promise it isn't without errors yet.
| Byte Offset | Content |
| Start of Media | Volume Recognition Space (aka base) |
| Empty Gap? – 32KB in size | |
| 32769 |
Volume Recognition Sequence (VRS)
Contains the following 3 contiguous sectors: |
| Beginning Extended Area Descriptor (BEA) | |
| Volume Sequence Descriptor (VSD) with id "NSR02" or "NSR03" | |
| Terminating Extended Area Descriptor (TEA) | |
| Sector 256 |
Anchor Volume Descriptor Pointer (AVDP)
Contains start address & size of Volume Descriptor Sequence (VDS) and reserve VDS |
| ? – Depends |
VDS
Contains many descriptors that are all sector aligned (see next below) |
| Sector Aligned |
Descriptors inside VDS with each start address sector aligned
Types: PD, LVD, TD
|
|
Partition Descriptor (PD)
Attributes:
Normally you have 1 PD, but you can have 2 PD (ex: read-only and overwritable) |
|
|
Logical Volume Descriptor (LVD)
Contents:
|
|
|
Partition Map (inside LVD)
PD # Type: 1 or 2 Various Attributes if type 2 |
|
| End VDS | Terminating Descriptor (TD) |
| ? – Varies |
Partitions with data
TODO: File and directory descriptors |
Some helpful sites:
Credits to Wenguang Wang explanation
of UDF at http://homepage.mac.com/
Useful specifications for UDF:
http://www.ecma-international.