This is because the script makes a single-session cd, as default. In the last recording lineAdd teh flag -multi so it will be:Code:$MKISOFS -R -J -quiet $DIR | $CDRECORD dev=$DEVICE \ tsize=$TSIZE $SESSION - >/dev/null 2>&1this will make it a multisession cd, so you can burn and burn and burn and ... untill the check for cd-size in the script will render the backup too large for the cd..Code:$MKISOFS -R -J -quiet $DIR | $CDRECORD dev=$DEVICE \ tsize=$TSIZE -multi $SESSION -data - >/dev/null 2>&1
My intentions were to have the script take a flag, like -m for multi-session, and then in the $SESSION, when a previus session was found on the cd, add the -multi flag.. But since I was in a hurry, I didn't bother to cover that option..
Then later on, when you dont want to burn any more to the cd, you'd simply run cdrecord with the -fix flag, to close the sessions.


Reply With Quote

Bookmarks