Greetings, I am using dvd+rw-tools version 5.21
with mkisofs version 2.0, Linux kernel 2.4.26. DVD media used is Verbatim DVD-R
and the drive is an external USB2.0 BTC DVD writer connected to a USB1.1 port
(no option in changing the USB) on a small embedded computer. I am using the following script to write
a given file to a given attached DVD writer in a multisession manner. The
script figures out if the media is blank and uses the –Z option,
otherwise it uses the –M option. It works fine for a few sessions and it
then fails to write. It seems that the failure starts when the number of files in
previous sessions is about 35 and the total size is about 600Mbytes but this
may not always be the case. Has anyone experienced this kind of failure on a
multisession recording? Any help is greatly appreciated. Farshad #! /bin/sh -x # save given file to the DVD
writer attached to SCSI # in a multi session format # $1 is the path to the
source directory to be saved # $2 is the device number RET=`/bin/growisofs
-speed=0.5 -M /dev/sr$2 -R -J $1` EXIT_VALUE=$? if test $EXIT_VALUE -eq 0 ;
then if
test "`echo -n $RET | grep Executing | wc -c`" -gt 0 ; then echo
"DVD Write OK" exit
0 else echo
"DVD Write FAILED" exit
127 fi else if
test $EXIT_VALUE -eq 150 ; then echo
"First Track, using -Z option" RET=`/bin/growisofs
-speed=0.5 -Z /dev/sr$2 -R -J $1` EXIT_VALUE=$? if
test $EXIT_VALUE -eq 0 ; then if
test "`echo -n $RET | grep Executing | wc -c`" -gt 0 ; then echo
"DVD Write OK" exit
0 else echo
"DVD Write FAILED" exit
127 fi else echo
"DVD Write FAILED" exit
127 fi else echo
"DVD Write FAILED" exit
127 fi fi |