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.
Download (HTTP): http://prdownloads.sourceforge.net/linux-udf/udftools-1.0.0b2.tar.gz
Download size: 236 Kb
Estimated Disk space required: 2.7 MB
Estimated build time:
Patches for other kernel versions: http://w1.894.telia.com/~u89404340/patches/packet/
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:
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 built 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
Install UDFtools by running the following commands:
./configure --prefix=/usr && make && make install
The UDFtools package contains pktsetup, cdrwtool, and mkudffs.
pktsetup 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.
cdrwtool 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.