My attempt to set up packet writing on a DVD+RW disk using UDF has failed.
I did the following.
Installed dvd+rw-tools and udftools.
Inserted DVD.
Followed instructions in /usr/share/doc/udftools/README.Debian:
Edited /etc/default/udftools adding drive for packet writing by inserting DEVICES=/dev/sr0.
Then to register the device executed
Code: Select all
sudo /etc/init.d/udftools start
Code: Select all
Starting udftools packet writing:
/dev/pktcdvd/0=/dev/sr0
Prepared disk by executing
Code: Select all
dvd+rw-format -force /dev/sr0
Wrote an empty session spanning the whole medium by executing
Code: Select all
growisofs -Z /dev/sr0=/dev/zero
Code: Select all
4682219520/4700372992 (99.6%) @2.4x, remaining 0:05 RBU 100.0% UBU 58.9%
4693229568/4700372992 (99.8%) @2.4x, remaining 0:02 RBU 100.0% UBU 58.9%
:-[ WRITE@LBA=230540h failed with SK=5h/LOGICAL BLOCK ADDRESS OUT OF RANGE]: No space left on device
:-( write failed: No space left on device
/dev/sr0: flushing cache
/dev/sr0: stopping de-icing
/dev/sr0: writing lead-out
/dev/sr0: reloading tray
Code: Select all
sudo mkudffs --udfrev=0x0150 --spartable=2 --media-type=dvdrw /dev/pktcdvd/0
Executed
Code: Select all
sudo mkdir /media/dvd0
Then
Code: Select all
sudo mount -t udf -o rw,noatime /dev/pktcdvd/0 /media/dvd0
Code: Select all
mount: wrong fs type, bad option, bad superblock on /dev/pktcdvd/0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Code: Select all
[24501.442533] UDF-fs: warning (device pktcdvd0): udf_load_vrs: No VRS found
[24501.442545] UDF-fs: warning (device pktcdvd0): udf_fill_super: No partition found (2)
[24602.019218] pktcdvd: pktcdvd0: write speed 5540kB/s
[24610.842967] pktcdvd: pktcdvd0: 4590208kB available on disc
lsblk output included
Code: Select all
sr0 11:0 1 4.4G 0 rom
pktcdvd0 253:0 1 4.4G 0 disk
Is anyone successfully packet writing to DVD+RW disks?