UDF

Also known as: Universal Disk Format

On this page 8

UDF, the Universal Disk Format, is a vendor-neutral file system originally designed for optical media such as DVD and Blu-ray discs and later used on rewritable discs, USB flash drives and disk images. In OS storage it occupies a special niche: it is one of the few on-disk formats that Windows, macOS and Linux all understand natively, which makes it a practical exchange format when large files must move between operating systems.

UDF is defined as a profile of the ISO/IEC 13346 standard (also published as ECMA-167) and is maintained by the Optical Storage Technology Association (OSTA). Each UDF revision adds features, and the revision a disc uses decides which systems can mount it and whether they can write to it.

How UDF organizes data on a volume

UDF organizes a volume as a chain of descriptors that point to one another, starting at fixed locations so that any reader can find them without prior knowledge of the medium. A Volume Recognition Sequence at sector 16 announces the format with identifiers such as BEA01, NSR02 or NSR03, and an Anchor Volume Descriptor Pointer at sector 256 and near the end of the volume leads to the main descriptor sequence.

From the anchor, the reader follows the Volume Descriptor Sequence, which contains the Partition Descriptor and the Logical Volume Descriptor. The logical volume points to a File Set Descriptor, which in turn names the root directory. Every file and directory is described by a File Entry (or an Extended File Entry from revision 2.00), and directories are lists of File Identifier Descriptors that map names to those entries.

The following table lists the main on-disk structures and the job each one performs.

StructureTypical locationPurpose
Volume Recognition SequenceSector 16 onwardIdentifies the volume as UDF
Anchor Volume Descriptor PointerSector 256 and last sectorLocates the descriptor sequences
Partition DescriptorVolume Descriptor SequenceDefines the partition start and length
Logical Volume DescriptorVolume Descriptor SequenceSets block size and partition maps
File Set DescriptorInside the partitionPoints to the root directory
File EntryInside the partitionStores metadata and extent locations
Core UDF structures and their roles

Free space is tracked with a space bitmap or an unallocated space table. File names can reach 255 bytes and use the OSTA CS0 character set, which stores Unicode in 8-bit or 16-bit form. Because file lengths are 64-bit values, a single file can be far larger than 4 GiB, a limit that still constrains FAT32.

UDF revisions and what each one added

The UDF revision number determines the feature set, and it matters more than the name itself, because support across operating systems differs by revision. Revisions are backward compatible in principle: a reader for a newer revision can read older volumes, but not the reverse.

RevisionYearKey additionsTypical use
1.021996Baseline formatDVD-Video and DVD-ROM
1.501997Virtual and sparable partitionsCD-R and CD-RW packet writing
2.001998Extended File Entry, named streamsRarely used alone
2.012000Clarifications and fixesWidest compatibility target
2.502003Metadata partitionBlu-ray Disc and HD media
2.602005Pseudo-overwrite supportBD-R with logical overwrite
Major UDF revisions

Three special partition types explain how UDF copes with different media. A virtual partition uses a Virtual Allocation Table (VAT) so that write-once discs can appear rewritable by appending new copies of changed data. A sparable partition adds sparing tables that remap worn sectors on rewritable discs. The metadata partition of revision 2.50 groups file entries and directories together, which speeds up browsing and allows a duplicate copy for resilience.

Operating system support for UDF

Desktop operating systems support UDF unevenly, and write support lags behind read support almost everywhere. The table summarizes the general situation for current releases; older versions are more limited.

Operating systemRead supportWrite supportNotes
WindowsUp to 2.60Up to 2.50Formatting via the format command
macOSUp to 2.60Limitednewfs_udf creates volumes
LinuxUp to 2.60Generally up to 2.01Kernel udf driver
Older Windows XPUp to 2.01None nativelyNeeded third-party tools
Typical UDF support by operating system

On Linux, volumes using the metadata partition of 2.50 or 2.60 are usually mounted read-only, so revision 2.01 remains the safest choice when a disk must be written on all three platforms. Windows Vista and later can create UDF volumes through the graphical formatter or with format /fs:udf, while macOS and Linux provide command-line tools.

How UDF compares with other removable-media file systems

UDF is best understood against its neighbors: ISO 9660 for read-only discs and exFAT and FAT32 for flash media. Each was designed for a different medium and different constraints.

FormatDesigned forLarge filesRewritable useCross-platform
UDFOptical and removable mediaYes, 64-bit lengthsYes, with defect handlingNative on major systems
ISO 9660Read-only CD-ROMLimited, multi-extent onlyNoUniversal for reading
exFATFlash memoryYesYesNative on current systems
FAT32Hard disks and flashNo, 4 GiB limitYesNearly universal
UDF compared with related formats

Many commercial discs are UDF bridge discs that carry both an ISO 9660 and a UDF directory structure pointing to the same file data. Older devices read the ISO 9660 view, while newer players and computers read the richer UDF view. Unlike modern disk file systems, UDF is not a journaling file system, so an interrupted write can leave a volume inconsistent until it is repaired.

Practical use and configuration choices

Today UDF appears mainly in optical disc authoring, disk images distributed as ISO files, and occasionally on USB drives shared between systems. Choosing the right settings avoids most compatibility problems.

SituationRecommended choiceReason
Data DVD for any computerUDF 1.02 bridge with ISO 9660Readable by old and new systems
Blu-ray video or data discUDF 2.50Required by Blu-ray specifications
USB drive shared with Linux writersUDF 2.01Avoids read-only metadata partitions
Installer image with files over 4 GiBUDF inside the ISO imageISO 9660 alone cannot store them cleanly
Choosing UDF settings for common situations

On flash or hard drives, the logical block size should match the physical sector size, typically 512 or 4,096 bytes, while optical media use 2,048-byte blocks. With 32-bit block addresses, the block size also caps the volume: about 8 TiB at 2,048 bytes and 16 TiB at 4,096 bytes.

Limitations and common mistakes

UDF is robust on optical media but has practical weaknesses as a general disk format, and several misconceptions persist among users who treat it like NTFS or ext4.

  • Assuming every system writes every revision: a 2.50 volume formatted on Windows may mount read-only on Linux.
  • Mismatched block size on a USB drive can make Windows or macOS refuse to mount the volume.
  • No journaling means unsafe removal risks directory damage, so ejecting properly matters.
  • Weak repair tooling: consistency checkers for UDF are far less mature than those for mainstream file systems.
  • Permissions are not portable: owner and group fields exist, but different systems interpret them differently.

In plain words

UDF is a common filing system for discs and some removable drives. It decides how files are named, where their pieces sit on the disc and how a computer finds them again. Its main strength is that Windows, Mac and Linux computers can all read it without extra software.

Think of it as a shared library catalog that every visitor knows how to use. Different editions of the catalog add new features, and older readers may not handle the newest edition. For that reason, people who make discs or drives for many different computers usually choose a version that everyone understands.

A real-world example

A video production team needs to hand a client a set of finished files, including a single 38 GB master file, and the client uses a mix of Windows and macOS workstations. FAT32 cannot store a file that large, and the team wants to avoid relying on drivers for NTFS or Apple file systems on the client side.

The editor writes the files to a 50 GB Blu-ray disc formatted with UDF 2.50, the revision required by the Blu-ray specification. The disc is finalized so that no further writes can alter it, which also gives the client a stable archive copy.

At the client office, both the Windows and macOS machines mount the disc natively and copy the master file at the drive speed. The outcome is a cross-platform delivery with no extra software and a durable physical backup that stays readable for years when stored properly.