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://aleron.dl.sourceforge.net/sourceforge/linux-udf/udftools-1.0.0b2.tar.gz
Download size: 236 Kb
Estimated Disk space required: 2.7 MB
Estimated build time:
Install the kernel patch by running the following commands from the kernel source directory:
patch -Np1 -i ../linux-2.4.20-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 b97 0 mknod /dev/pktcdvd1 b 97 1 |
Install UDFtools by running the following commands:
./configure --prefix=/usr && make && make install |
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 |