UDFtools-1.0.0b2

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

[Warning]

Warning

Note that this patch can permenantly 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:

patch -Np1 -i ../linux-2.4.26-packet.patch

In the kernel configuration, check your setting with those listed here:

Block devices
   Packet writing on CD/DVD media:       Y or M
File Systems
   UDF filesystems support (read only):  Y
     UDF write support (DANGEROUS)       Y

If necessary, recompile the kernel with

make CC=/opt/gcc-2.95.3/bin/gcc dep &&
make CC=/opt/gcc-2.95.3/bin/gcc bzImage &&
make CC=/opt/gcc-2.95.3/bin/gcc modules &&
make CC=/opt/gcc-2.95.3/bin/gcc modules_install

Copy /usr/src/linux/arch/i386/boot/bzImage and /usr/src/linux/System.map to /boot. If you utilize LILO edit /etc/lilo.conf appropriately and run lilo.

If you build packet writer as a module, add the following to /etc/modules.conf:

alias block-major-97 pktcdvd

Finally, create the packet driver device nodes in /dev, add one node for every CD-RW drive you want to support:

mknod /dev/pktcdvd0 b 97 0
mknod /dev/pktcdvd1 b 97 1

Installation of UDFtools

Install UDFtools by running the following commands:

./configure --prefix=/usr &&
make &&
make install

Contents

The UDFtools package contains pktsetup, cdrwtool, and mkudffs.

Description

pktsetup

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

Example:

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.

cdrwtool

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

Example:

cdrwtool -d /dev/scd0 -q

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

mkudffs

mkudffs is used to create new UDF file systems, it can be used on hard disks and CD-R as well as CD-RW.