udftools (Re: [Hoary Array-5] A small question)

Santanu Chatterjee thisissantanu at gmail.com
Mon Feb 28 23:20:43 UTC 2005


On Sun, 27 Feb 2005 20:55:53 -0800, Matt Zimmerman <mdz at ubuntu.com> wrote:
> 
> The live CD and installed environment are in general almost identical;
> neither of them currently includes udftools.
> 
> There is apparently more to this functionality than having udftools
> installed; the appropriate devices must be configured in
> /etc/default/udftools (according to the package itself).
> 
> I'm not very familiar with packet writing, so if I have misunderstood,
> please let me know.

Thanks for your reply. 
As you said, /etc/default/udftools do have a role to play, but
IIRC, it is mainly for udev to properly create the pktcdvd device
node (I am not sure). Actually I never used it, and on the system
I am working right now (Fedora Core 3), I don't even have that
file. 
The following method have always worked for me :

========================================
o installed kernel 2.6.10 (it had packet writing
  enabled by default. Had to patch it prior to this version)

o installed udftools (this gave me 'pktsetup' and 'cdrwtool')

o used the command 'cdrwtool -d /dev/hdc -q' to put the UDF
  filesystem in a CDRW

o added the following lines to S99local:
  -------------------------------
   modprobe pktcdvd
   rm -Rf /dev/pktcdvd*
   mkdir /dev/pktcdvd
   pktsetup pktcdvd0 /dev/hdc
  -------------------------------
  (There might be a better way, but this works for me.
   hdc is my cdwriter)

o added the following line to /etc/fstab:
   /dev/pktcdvd/pktcdvd0 /media/pkt udf rw,user,noauto,noatime 0 0
  and then did a 'mkdir /media/pkt'

o rebooted into the new kernel, and I was done.
  I can now put the UDF formatted CDRW into the drive,
  and do a 'mount /media/pkt' and then use normal 'cp',
  'mkdir', etc. to use the CDRW as a _big_ floppy!!
=====================================

I guess I will have to learn more about udev and sysfs
someday, to fully understand the process so that I can
do away with the lines I added to S99local.

Regards,
Santanu




More information about the ubuntu-users mailing list