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

Additional Downloads

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/udftools

Kernel Configuration

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 &&
sed -i -e 's/(char\*)spm +=/spm = (char\*)spm +/' wrudf/wrudf.c &&
./configure --prefix=/usr &&

Now, as the root user:

make install

Command Explanations

sed -i -e 's/(char\*)spm +=/spm = (char\*)spm +/' wrudf/wrudf.c: This change is required to compile with recent compilers.


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 filesystem.


contains functions used by the UDFtools programs.

Last updated on 2007-01-15 17:25:53 -0600