All Topics  
Universal Disk Format

 

   Email Print
   Bookmark   Link






 

Universal Disk Format



 
 
The Universal Disk Format (UDF) is a format specification of a file system
File system

In computing, a file system is a method for store and organize computer files and the data they contain to make it easy to find and access them....
 for storing files on optical media
Optical disc

In computing, sound reproduction, and video, an optical disc is a flat, circular disc wherein Data is stored in the pits in its flat surface ? sequentially on the continuous, spiral track extending from the innermost track to the outermost track, covering the entire disc surface....
. It is an implementation of the ISO/IEC 13346 standard (also known as ECMA
Ecma International

'Ecma International' is an international, private non-profit standards organization for information and communication systems. It acquired its name in 1994, when the European Computer Manufacturers Association changed its name to reflect the organization's international reach....
-167
). It is considered to be a replacement of ISO 9660
ISO 9660

ISO 9660, also called CDFS by some manufacturers, a standard published by the International Organization for Standardization , defines a file system for CD-ROM media....
, and today is widely used for (re)writable optical media. UDF is developed and maintained by the Optical Storage Technology Association
Optical Storage Technology Association

The Optical Storage Technology Association is an international trade association which promotes the use of recordable optical technologies and products, and most notably it is responsible for the creation and maintenance of the Universal Disk Format specification....
 (OSTA).

History
The UDF file system was standardized by the Optical Storage Technology Association
Optical Storage Technology Association

The Optical Storage Technology Association is an international trade association which promotes the use of recordable optical technologies and products, and most notably it is responsible for the creation and maintenance of the Universal Disk Format specification....
 to form a common file system for all optical media.






Discussion
Ask a question about 'Universal Disk Format'
Start a new discussion about 'Universal Disk Format'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The Universal Disk Format (UDF) is a format specification of a file system
File system

In computing, a file system is a method for store and organize computer files and the data they contain to make it easy to find and access them....
 for storing files on optical media
Optical disc

In computing, sound reproduction, and video, an optical disc is a flat, circular disc wherein Data is stored in the pits in its flat surface ? sequentially on the continuous, spiral track extending from the innermost track to the outermost track, covering the entire disc surface....
. It is an implementation of the ISO/IEC 13346 standard (also known as ECMA
Ecma International

'Ecma International' is an international, private non-profit standards organization for information and communication systems. It acquired its name in 1994, when the European Computer Manufacturers Association changed its name to reflect the organization's international reach....
-167
). It is considered to be a replacement of ISO 9660
ISO 9660

ISO 9660, also called CDFS by some manufacturers, a standard published by the International Organization for Standardization , defines a file system for CD-ROM media....
, and today is widely used for (re)writable optical media. UDF is developed and maintained by the Optical Storage Technology Association
Optical Storage Technology Association

The Optical Storage Technology Association is an international trade association which promotes the use of recordable optical technologies and products, and most notably it is responsible for the creation and maintenance of the Universal Disk Format specification....
 (OSTA).

History


The UDF file system was standardized by the Optical Storage Technology Association
Optical Storage Technology Association

The Optical Storage Technology Association is an international trade association which promotes the use of recordable optical technologies and products, and most notably it is responsible for the creation and maintenance of the Universal Disk Format specification....
 to form a common file system for all optical media. The goal was to make a common file system for read-only
Read-only

Read-only generally refers to something that can be read, but not written to or modified.In computing, read-only can mean:* Read-only memory , a type of storage media...
 media and optical media that are re-writable. This is still the main goal for ongoing UDF standardization, although support for the more obscure WORM
Write Once Read Many

Write Once, Read Many refers to computer data storage systems, data storage devices, and data storage media that can be written to once, but read from multiple times....
 media is about to be limited, and support for non-optical media may be added.

When it was first standardized, the UDF file system was intended to replace ISO 9660, allowing support for both read-only and writable media. Almost directly after the first version of UDF was released, it was adopted by the DVD Consortium as the official file system for DVD Video and DVD Audio. Nowadays, a UDF file system may be found on most authored optical discs in the market, and on almost all recordable DVD
DVD

DVD, also known as "Digital Versatile Disc" or "Digital Video Disc,"is a popular optical disc data storage device media format. Its main uses are video and data storage....
 media that are used for video recording.

As intended, initially UDF was mainly found on optical media. Most operating systems needed special third-party software to support reading it. Nowadays, almost all operating systems natively support at least reading UDF file systems, and many support some form of writing as well. Because of this increased support, UDF is gaining popularity on non-optical media that mainly need to be exchangeable, such as Iomega REV
Iomega REV

REV is a removable hard disk storage system from Iomega.The small removable disks store 35, 70, or 120 gigabytes and are made of hard-drive technology....
 discs, large flash media, and even on hard disk drives.

Media


DVD-Video
DVD-Video

DVD-Video is a consumer video format used to store digital video on DVD discs, and is currently the dominant consumer video format in Canada, Europe and Australia....
 media use UDF version 1.02. These discs contain a so-called UDF Bridge format, whereby both an ISO 9660 (Level 1) and a UDF 1.02 filesystem are present on the same disc, describing the same filesystem.

All standard formats for video recording
DVD recorder

A DVD recorder , is an optical disc recorder that records video onto blank writeable DVD recordable. Such devices are available as either installable drives for computers or as standalone components for use in studios or home theatre systems....
 on DVD
DVD

DVD, also known as "Digital Versatile Disc" or "Digital Video Disc,"is a popular optical disc data storage device media format. Its main uses are video and data storage....
-style media use some version of the UDF filesystem.
  • Philips' DVD+VR
    DVD+VR

    The DVD+VR standard defines a logical format for DVD-Video compliant recording on optical discs. It's intended to be used on DVD+R and DVD+RW media....
     format uses UDF 1.02 with an ISO 9660 bridge for DVD+R
    DVD+R

    A DVD+R is a write-once optical disc with 4.7 gigabyte of computer storage . It has slightly less computer storage than the DVD-R . The format was developed by a coalition of corporations --now known as the DVD+RW Alliance-- in mid 2002 ....
     and DVD+RW
    DVD+RW

    DVD+RW is the name of a standard for optical discs: one of several types of DVD, which hold up to about 4.7 Gigabyte per disc and are used for storing films, music or other data....
    .
  • The DVD Forum
    DVD Forum

    The DVD Forum is an international organization composed of hardware, software, media and content companies that use and develop the DVD and HD DVD formats....
    's DVD-VR
    DVD-VR

    The DVD-VR standard defines a logical format for video recording on DVD-R, DVD-RW, and DVD-RAM style media, including the dual layer versions of these media....
     format uses UDF 2.00 for DVD-R
    DVD-R

    DVD-R is a DVD recordable format. A DVD-R typically has a computer storage of 4.71 Gigabyte , although the capacity of the original standard developed by Pioneer Corporation was 3.95 GB ....
    , DVD-RW
    DVD-RW

    A DVD-RW disc is a rewritable optical disc with equal computer storage to a DVD-R, typically 4.7 gigabyte. The format was developed by Pioneer in November 1999 and has been approved by the DVD Forum....
     and DVD-RAM
    DVD-RAM

    DVD-RAM is a disc specification presented in 1996 by the DVD Forum, which specifies rewritable DVD-RAM media and the appropriate DVD writers. DVD-RAM media have been used in computers as well as camcorders and personal video recorders since 1998....
    .
  • Blu-ray uses UDF 2.50 or UDF 2.60.
  • Hyper Scan game console uses a version of UDF for the game data


A UDF file system is normally mastered by authoring software
Optical disc authoring software

Optical disc authoring software is computer software for optical disc authoring including CD-ROMs and DVDs. They are also known by synonyms such as CD burning application or DVD authoring software....
 in a batch process, and written to disc in a single pass. But when packet writing
Packet writing

Packet writing is an optical disc recording technology used to allow write-once and rewritable CD and DVD media to be used in a similar manner to a floppy disk from within the operating system, i.e., it allows users to create, modify, and delete files and directories on demand without the need to optical disc authoring a whole disc....
 to rewriteable media, such as CD-RW
CD-RW

Compact Disc ReWritable is a rewritable optical disc format. Known as CD-Erasable during its development, CD-RW was introduced in 1997, and was preceded by the never officially released CD-RW#CD-MO in 1988....
, UDF allows files to be created, deleted and changed on-disc just as a general-purpose filesystem would on removable media like floppy disk
Floppy disk

A floppy disk is a data storage medium that is composed of a disk of thin, flexible magnetic storage medium encased in a square or rectangle plastic shell....
s and flash drives. This is also possible on write-once media, such as CD-R
CD-R

A CD-R is a variation of the Compact Disc invented by Philips and Sony. CD-R is a Write Once Read Many optical medium, though the whole disk does not have to be entirely written in the same session....
, but in that case the space occupied by the deleted files cannot be reclaimed (and instead becomes inaccessible).

Character set


The specification allows for nine character encodings: one by agreement, one specified by ECMA
ECMA

Ecma or ECMA may refer to one of the following:Ecma is short for*Ecma International , formerly : the European Computer Manufacturers Association , an international standards organization for Information Communication Technology and Consumer Electronics ...
-6 (also known as ASCII
ASCII

American Standard Code for Information Interchange , is a coding standard that can be used for interchanging information, if the information is expressed mainly by the written form of English words....
), three subsets of ASCII, a subset of ECMA-94 (Latin-1), and various other graphical characters.

Revisions of UDF

UDF has been released in multiple revisions:
  • Revision 1.02 (August 30, 1996). This format is used by DVD-Video
    DVD-Video

    DVD-Video is a consumer video format used to store digital video on DVD discs, and is currently the dominant consumer video format in Canada, Europe and Australia....
     discs.
  • Revision 1.50 (February 4, 1997). Added support for (virtual) rewritability on CD-R/DVD-R media by introducing the VAT structure. Added sparing tables for defect management on rewritable media such as CD-RW, and DVD-RW and DVD+RW.
  • Revision 2.00 (April 3rd, 1998). Added support for Stream Files and real-time files (for DVD recording) and simplified directory management. VAT support was extended.
  • Revision 2.01 (March 15, 2000) is mainly a bugfix release to UDF 2.00. Many of the UDF standard's ambiguities were resolved in version 2.01.
  • Revision 2.50 (April 30, 2003). Added the Metadata Partition facilitating metadata clustering, easier crash recovery and optional duplication of file system information: All metadata like nodes and directory contents are written on a separate partition which can optionally be mirrored.
  • Revision 2.60 (March 1, 2005). Added Pseudo OverWrite method for drives supporting pseudo overwrite capability on sequentially recordable media.


For next releases of UDF, changes are discussed in relation to using UDF on very large hard disk media, and using UDF on holographic storage media.

Builds of UDF

While the UDF specification has never been explicit about it, all UDF revisions since 1.5 actually describe three different variations of the format.

These builds are:
  • Plain (Random Read/Write Access). This is the original format supported in all UDF revisions
  • VAT (Incremental Writing). Used specifically for writing to CD-R and (write-once) media
  • Spared (Limited Random Write Access). Used specifically for writing to CD-RW and DVD-RW (rewritable) media


Plain build


This format can be used on any type of disk that allows random read/write access, such as hard disks, DVD+RW and DVD-RAM media. Similarly to other common file system formats, such as FAT
File Allocation Table

File Allocation Table or FAT is a computer file system architecture now widely used on most computer systems and most memory cards, such as those used with digital cameras....
, directory entries point directly to the block numbers of their file contents. In writing to such a disk in this format, any physical block on the disk may be chosen for allocation of new or updated files.

Since this is the basic format, practically any OS or File System Driver claiming support for UDF should be able to read this format.

VAT build

DVD-R and CD-R media have limitations when being written to, in that each physical block can only be written to once, and the writing must happen incrementally. Thus the plain build of UDF can only be written to CD-Rs by pre-mastering the data and then writing all data in one piece to the media, similar to the way an ISO 9660 filesystem gets written to CD media.

To enable CD-R to be used virtually like a hard disk, whereby the user can add and modify files on a CD-R at will (so-called "drive letter access" on Windows), OSTA added the VAT build to the UDF standard.

The VAT is an additional structure on the disk that helps in remapping physical blocks when files or other data on the disk are modified. The write-once nature of the media means that when a file is first added and then deleted on the disk, the file's data still remains on the disk. It does not appear in the directory any more, but special tools can be used to access the previous state of the disc (the state before the delete occurred), making recovery possible. Eventually the disk will be full, as free space cannot be recovered by deleting files. However, this behavior can be used to advantage for the purpose of archiving data.

Understanding the VAT structure is necessary in order to read such discs, but not all UDF file systems support VAT. See also "Why your computer might not read a particular UDF disk", below.

Spared (RW) build

DVD-RW and CD-RW media have fewer limitations than DVD-R and CD-R media. Sectors can be rewritten at random (though in packets at a time). These media can be erased entirely at any time, making the disc blank again, ready for writing a new UDF or other file system (e.g. ISO 9660 or CD Audio) to it.

DVD-RW and CD-RW disks may thus be used as a blankable-R media but may also be formatted in the plain, VAT and Spared UDF builds.

However, it is important to understand that sectors of -RW media may "wear out" after a while, meaning that their data becomes unreliable, through having been rewritten too often (typically after a few hundred rewrites, with CD-RW).

If the plain build is used on a-RW media, file-system level modification of the data must not be allowed, as this would quickly wear out often-used sectors on the disc (such as those for directory and block allocation data), which would then go unnoticed and lead to data loss. Hence, if software formats -RW media with UDF in the plain build, it should set the "hard write protection" flag on the volume to ensure that no UDF software attempts to overwrite files on the volume as is possible with random-rewritable media such as hard disks.

To allow modification of files on the disc, the media can be used like -R media using the VAT build. This ensures that all blocks get written only once (successively), ensuring that there are no blocks that get rewritten more often than others. This way, a RW disc can be erased and reused many times before it should become unreliable.

To get true overwritability (which is not possible with the VAT build) of files on RW media, the disc needs to be formatted using the Spared build which adds an extra Sparing Table. This table keeps track of bad sectors and remaps them to working ones.

Once a -RW disc has been used with the spared UDF build, the disc should never get re-used with any other format, as the information about the bad blocks would get lost, potentially leading to the aforementioned unreliability.

Since DVD+RW discs can't emulate DVD+R, they can only be formatted in the plain and in the Spared UDF build.

Consequences of using specific builds

The consequences of using these builds are as follows:
  • When using the plain build, in theory a disc driver may allow rewriting any disc sector at random, meaning the RW is truly rewritable in the fashion of hard disks. However, because of the wear-out effect, this would soon lead to loss of data. For that reason, if a plain UDF file system is written to RW media, the file system should lock (write protect) the UDF volume to prevent accidental modification by a computer, or better, disc drivers should never even attempt to provide random-write access to RW media unless they can assure that no data loss due to wear-out can happen.
  • When using the VAT build, CD-RW/DVD-RW media effectively appears as CD-R or DVD+/-R media to the computer. However, the media may be erased again at any time.
  • Finally, the Spared build works basically like the plain build, but uses an extra Sparing Table to remap worn-out sectors.


Understanding Sparing Tables is necessary to be able to read discs written in Sparable build correctly. The problem is that some existing versions of UDF File System software ignore this extra information and treat such UDF discs as if they had the plain build. As long as the media has no worn-out sectors, this does not matter - the files can be read properly. But once sectors are remapped, a File System not paying attention to the Sparing Table will read outdated sectors, leading to retrieval of the wrong data.

Why a computer might not read a particular UDF disk

Even if an operating system
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
 claims to be able to read UDF 1.50, it still may only support the plain build and not necessarily either the VAT or Spared build.

An example is Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
 (10.4.5), which claims to support UDF 1.50 (see man mount_udf), yet it can only mount disks of the plain build properly (it cannot mount UDF disks with a VAT at all, , and while it appears to be able to mount CD-RWs written with a Sparing Table, it does not read its files correctly in the case those files are actually remapped).

The solution is to update the computer’s operating system (OS) to any later version of the OS, available without charge up to version 10.4.11 for both and Macintosh computers.

Similarly, Microsoft Windows XP Service Pack 2 (SP2), cannot read DVD-RW disks that use the Universal Disk Format (UDF) 2.00 defect management system. When you view the DVD contents by using Windows Explorer, you see an empty root folder. This problem occurs if the UDF defect management system creates a sparing table that spans more than one sector on the DVD-RW disk. Windows XP SP2 cannot read a sparing table that is larger than one sector. Windows XP SP2 can recognize that a DVD is using UDF. However, Windows Explorer displays the contents of a DVD as an empty folder.

One can update the computer to , or to apply a hotfix
Hotfix

A hotfix was originally the term applied to software patches that were applied to live i.e. still running systems. Similar use of the terms can be seen in Hot_swappable....
 to address .

For solutions to more general problems reading UDF-formatted optical disks in computers using Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 OSes, see .

Standalone DVD player compatibility

Some users have reported that video DVDs burned on their computers in UDF version 1.5 are not compatible with their set-top video DVD players. These players seem to be only compatible with UDF version 1.02 (that provides both UDF and ISO 9660 directories.) As some popular DVD burning programs
DVD authoring

DVD authoring is the process of creating a DVD video that can be played on a DVD player. DVD authoring software must conform to the specifications set by the DVD Forum group in 1995....
 default to UDF version 1.5 when burning video DVDs, users have found it necessary to avoid using the software wizard
Wizard (software)

A wizard is a user interface element where the end-user is presented with a sequence of dialog box. Through these dialog boxes, the user is led through a series of steps, performing tasks in a specific sequence....
 and instead manually configure the burn to version 1.02.

Verifier Software

Philips provides source code and binaries for a UDF verifier that examines media for UDF compliance.

Native OS support

Terminology:
  • Unless otherwise noted, read and write support means that only the plain UDF build is supported, but not the VAT and spared build.
  • Support for read means that a UDF formatted disk can be mounted by the system. It enables the user to read files from the UDF volume using the same interface that is used to access files on other disks connected to the computer.
  • Support for write means that, additionally to reading files from a mounted UDF volume, data such as files can also be modified, added, or deleted.


UDF version Non-plain
Operating system 1.02 1.50 2.0x 2.50 2.60 VAT Spared Write Note
AIX
AIX operating system

AIX is the name given to a series of Proprietary software operating systems sold by IBM for several of its computer system platforms, based on UNIX System V with 4.3BSD-compatible command and programming interface extensions....
 5.1, 5.2, 5.3
         
AmigaOS
AmigaOS

AmigaOS is the default native operating system of the Amiga personal computer. It was developed first by Commodore International, and initially introduced in 1985 with the Amiga 1000....
 4.0
       
eComStation
EComStation

eComStation is a PC operating system based on OS/2, published by Serenity Systems, USA. It includes several additions and accompanying software....
         
FreeBSD
FreeBSD

FreeBSD is a Unix-like free software operating system descended from AT&T Unix via the Berkeley Software Distribution branch through the 386BSD and Berkeley Software Distribution#4.4BSD and descendants operating systems....
 5
      
FreeBSD 6       
FreeBSD 7       
Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
 2.4
       
Linux 2.6     Version before 2.6.10 supported fewer media types.
Mac OS 9
Mac OS 9

Mac OS 9 is the final major release of Apple Inc. "Classic" Mac OS. Introduced on October 23 1999, Apple positioned it as "The Best Internet Operating System Ever," highlighting Apple Sherlock Internet search capabilities, integration with Apple's free online services known as .Mac, and improved Open Transport networking....
       
Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
 10.4
      Can create UDF 1.50 (plain build) volumes using the drutil utility.
Mac OS X 10.5    To create, use "newfs_udf" utility.
magnussoft ZETA 1.2.1     
NetBSD
NetBSD

NetBSD is a freely redistributable, open source version of the Unix-derivative Berkeley Software Distribution computer operating system. It was the second open source BSD descendant to be formally released, after 386BSD, and continues to be actively developed....
 4.0
  Reading multi-session VAT, spared and metapartition variants
from all CD, DVD and BD variants as well as HDD and Flash media.
NetBSD
NetBSD

NetBSD is a freely redistributable, open source version of the Unix-derivative Berkeley Software Distribution computer operating system. It was the second open source BSD descendant to be formally released, after 386BSD, and continues to be actively developed....
 5.0
Write support for all builds and media including multi-session VAT. Create new with "newfs_udf".
Limited writing on 2.50/2.60 (due to needing pre-allocated, fixed sized metadata partition).
Novell NetWare
Novell NetWare

NetWare is a network operating system developed by Novell, Inc. It initially used cooperative multitasking to run various services on a personal computer, and the network protocols were based on the archetypal Xerox Xerox Network Services Protocol stack....
 5.1
         
Novell NetWare 6         
OpenBSD
OpenBSD

OpenBSD is a Unix-like computer operating system descended from Berkeley Software Distribution , a Unix derivative developed at the University of California, Berkeley....
 3.8
      
OS/2
OS/2

OS/2 is a computer operating system, initially created by Microsoft and IBM, then later developed by IBM exclusively. The name stands for "Operating System/2," because it was introduced as part of the same generation change release as IBM's "IBM Personal System/2 " line of second-generation personal computers....
        Additional fee drivers.
Solaris 7 11/99+        
Solaris 8, 9, 10        
Windows 98
Windows 98

Windows 98 is a graphical operating system released on 25 June 1998 by Microsoft and the successor to Windows 95. Like its predecessor, it is a hybrid 16-bit application/32-bit application monolithic product based on MS-DOS....
/ME
Windows Me

Windows Millennium Edition, or Windows Me , is a hybrid 16-bit/32-bit graphical operating system released on 14 September 2000 by Microsoft....
    
Windows 2000
Windows 2000

Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
    
Windows XP
Windows XP

Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
/Server 2003
Windows Server 2003

Windows Server 2003 is a Server operating system produced by Microsoft. Introduced on 24 April 2003 as the successor to Windows 2000 Server, it is considered by Microsoft to be the cornerstone of its Windows Server System line of business server products....
   Write support only for DVD-RAM, not CD-R/RW or DVD+-R/RW.
Windows Vista
Windows Vista

Windows Vista is one member in a family of operating systems developed by Microsoft for use on personal computers, including home and business Desktop computer, laptops, Tablet PCs, and media center PCs....
   Referred to by Microsoft as Live File System
Live File System

Live File System is the term Microsoft uses to describe the optical disk format Universal Disk Format 2.5 in Windows Vista. It allows files to be added incrementally to the media....
.
Windows 7     


See also

  • ISO/IEC 13490
    ISO 13490

    ISO/IEC 13490 is the next version of ISO 9660 , intended to describe the file system of a CD-ROM.ISO 13490 has several improvements over its predecessor....
     (also known as ECMA
    Ecma International

    'Ecma International' is an international, private non-profit standards organization for information and communication systems. It acquired its name in 1994, when the European Computer Manufacturers Association changed its name to reflect the organization's international reach....
    -168
    )
  • DVD Authoring
    DVD authoring

    DVD authoring is the process of creating a DVD video that can be played on a DVD player. DVD authoring software must conform to the specifications set by the DVD Forum group in 1995....


External links

  • March 1, 2005