Progress w/ UDF Filesystem Support in 2.4.0?
LionMage asks: "I know Slashdot
covered this a long time ago, but we have a new kernel now, and other things have changed as well. I followed the evolution of the experimental UDF drivers back in the 2.2.x series of Linux kernels, and Ben Fennema seemed to have both read and write support working. He claimed to be able to write to a CD-RW in UDF format, and I tried his drivers with my DVD-RAM drive with some measure of success. Recently, I installed SuSE Linux 7.1 on my machine, and discovered that the DVD-RAM drive was detected as two different devices, a CD-ROM drive and a "CD writer." OK, well, we'll forgive that little transgression. What's interesting is that inserting a DVD-RAM cartridge with data on it will in fact yield positive results when mounted. So clearly, the 2.4.0 kernel has some UDF support in it. (Unless this is a case where SuSE threw in support on a whim.) But I can only mount UDF volumes read-only. What's the point of a DVD-RAM drive under Linux if you can't write to it? A visit to Ben's page showed that little progress has been made recently, and there are no patches for the 2.4 series kernels. Can anyone comment on UDF support in the current Linux kernel, and how it's progressing? Alternately, are there perhaps some other drivers I'm unaware of which allow write support?"
What's really needed for UDF CD-RW and DVD-RAM write support is packet writing. That allows you to write data to the disk in little packets instead of a big stream, so you can write files at a time. Problem is, it's not in the kernel yet; Jens Axboe has a relatively old patch for a 2.4.0-test kernel that I gave up trying to apply to even 2.4.0. When fully implemented, packet writing will allow you to mount -w /dev/cdroms/cdrom0 (or the equivalent packet device if it is implemented using a separate device) /cdrom and then work with files on the CD-RW just like normal files -- with reading and writing. Fun? Go yell at people and it'll get implemented.