Re: Debian & UDFS

Phillip Susi <[email protected]> Wed, 26 Jul 2006 13:58:12 -0400
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
If you check your dmesg you will see udffs complain that the device is 
not writable, and that it is falling back to read only mode.  This may 
be because your drive is not standards compliant, and will not accept 
single sector writes.  Using the pktcdvd driver might be able to work 
around that problem.  Install the udftools package and use pktsetup to 
bind /dev/pktcdvd/0 to /dev/scd0 and then try to mount /dev/pktcdvd/0.

Michel Vaillancourt wrote:
> 	Hello, everyone.  I am unable to write to my DVD+RW with UDFS.  Here's
> what I am doing:
> 
> ext1:~# dvd+rw-format -force /dev/scd0
> * DVD▒RW/-RAM format utility by <[email protected]>, version 6.1.
> * 4.7GB DVD+RW media detected.
> * formatting 9.5/
> 
> ext1:~# mkudffs /dev/scd0
> start=0, blocks=16, type=RESERVED
> start=16, blocks=3, type=VRS
> start=19, blocks=237, type=USPACE
> start=256, blocks=1, type=ANCHOR
> start=257, blocks=16, type=PVDS
> start=273, blocks=1, type=LVID
> start=274, blocks=2294573, type=PSPACE
> start=2294847, blocks=1, type=ANCHOR
> start=2294848, blocks=239, type=USPACE
> start=2295087, blocks=16, type=RVDS
> start=2295103, blocks=1, type=ANCHOR
> 
> ext1:~# mount /dev/scd0 /media/dvdram/ -t udf -o rw,noatime
> 
> ext1:/tmp# cd /tmp
> ext1:/tmp# cp aJunkFile2copy.file /media/dvdram/
> cp: cannot create regular file `/media/dvdram/aJunkFile2copy.file':
> Read-only file system
> 
> ext1:/tmp# mount | grep media
> /dev/scd0 on /media/dvdram type udf (rw,noatime)
> 
> ext1:/tmp# df -h | grep media
> /dev/scd0             4.4G  290K  4.4G   1% /media/dvdram
> 
> 
> 	...  I'm not entirely sure why it is not working.  Any suggestions as
> to where I should start looking.  I'd really like to make this work.  :)