Introduction to UDFtools

The UDFtools package contains utilities for creating and mounting CD-RW disks with UDF file systems for both reading and writing. UDF files systems are used on both CD-RW media and on DVD. For more details of the UDF file system standard see: http://www.osta.org and http://www.ecma-international.org.

Package information

Installation of the kernel patch



Note that this patch can permanently damage your CD drive if it is from one of the few mentioned at http://slashdot.org/article.pl?sid=03/10/25/1737244. Do not apply the patch without first checking out the article.

Install the kernel patch by running the following commands from the kernel source directory:

bzcat ../packet-2.6.8-2.patch.bz2 |patch -Np1

In the kernel configuration, modify your settings to match those listed here:

Block devices
    Packet writing on CD/DVD media:       Y or M
CD-ROM/DVD Filesystems
    UDF file system support               Y or M

Recompile and install the new kernel.

Installation of UDFtools

Install UDFtools by running the following commands:

bzcat ../udftools-1.0.0b3.patch.bz2 |patch -Np1 &&
./configure --prefix=/usr &&

Now, as the root user:

make install


Installed Programs: cdrwtool, mkudffs, pktsetup, udffsck and wrudf
Installed Library: libudffs.a
Installed Directories: None

Short Descriptions


provides facilities to manage CD-RW drives, including formatting new disks, setting the read and write speeds, etc.


cdrwtool -d /dev/scd0 -q

prepares a new CD-RW for use and formats it with a UDF file system.


is used to create new UDF file systems. It can be used on hard disks and CD-Rs as well as CD-RWs.


is used to establish and break down associations between the kernel packet driver and a physical drive.


pktsetup /dev/pktcdvd0 /dev/scd0
mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime

associates the physical device /dev/scd0 with the kernel packet driver /dev/pktcdvd0, then mounts a UDF formatted CD-RW for read/write access.


is used to check the integrity and correct errors on UDF filesystems.


is used to maintain a UDF filing system.


contains functions used by the UDFtools programs.

Last updated on 2005-02-14 13:43:48 -0700