How to enable CD-RW packet writing with udftools
Posts: 37
Package: udftools
tested with distro: SimplyMEPIS 3.3
kernel: 2.6.10
Description of problem: Enabling UDF packet-writing in order to use CD-RWs
Solution:
?? With udftools package installed, make following entry in file
/etc/default/udftools as root:
---------------------
DEVICES="/dev/cdrom1"
---------------------
(this assumes CD-writing device is /dev/cdrom1)
?? As root, run command:
-------------------------
dpkg-reconfigure udftools
-------------------------
?? Output will resemble
Starting packet-writing /dev/pktcdvd/0
?? As root, create a folder named /mnt/cdrw and set appropriate permissions:
---------------------
mkdir /mnt/cdrw
chmod 0777 /mnt/cdrw
---------------------
?? Add following entry to /etc/fstab:
------------------------------------------------------------
/dev/pktcdvd/0 /mnt/cdrw udf noauto,noatime,rw,dev,users 0 0
------------------------------------------------------------
(assuming /dev/pktcdvd/0 was the device name assigned by the dpkg-reconfigure
command)
Packet-writing should now be enabled for all users.
It works - but
Posts: 15
I followed your directions and got a CD Recorder icon on the desktop. I put in a CDRW disk and clicked on the icon. A konqueror window opened and gave an error :
mount: /dev/pktcdvd/0: can't read superblock
Please check that the disk is entered correctly.
I clicked OK and was able to copy files to the disk. It seems to work but why the error.
Earl
PS
I installed a disk that was "formatted" with InCD and it loaded without an error message. My "blank" CDRW gave the error - how do you "format" it in Linux?
carlops: it should normally
Posts: 37
carlops: it should normally work as long as UDF is enabled in your kernel(I think this is always the case in MEPIS by default).
elb: weird stuff regarding the error message. It is also strange that the InCD format is not accepted as it seemed to work for me.
Anyway, in order to format UDF in linux, you need to use cdrwtool or mkduffs, both included in udftools. Do check the man pages.
mmm - no go
Posts: 2299

Hey Mepiswala,
Sorry, but it don't work for me. I get errors saying there's no such device /dev/pktcdvd. When I use mkudffs it gives some cryptic error like "trying to change type of multiple extents". Migt just be Mepis 2004.06 does not have the kernel patch installed, but I haven't really looked into it yet. I ordered a laptop that I'll be installing Mepis 3.3 on, will try then. I'll keep you posted....
Newbie or not Newbie, there's always a question
InCD
Posts: 15
mepiswala: My PS said that the disks formatted with InCD worked - the error came with an "unformatted" CD - I'm still trying to make sense of the man for cdrwtool.
I'll try this
Posts: 2299
I'm definitely going to try this, although I've got the 2.6.7. kernel (2004.02 Simply). My guess it should work with that as well right??
Using a CD as a permanenttly handy bakcup device (with Konserve eg) is a great feature... Thx. I'll let you know my findings....
Newbie or not Newbie, there's always a question