# HG changeset patch # User Robert McIntyre # Date 1361784908 0 # Node ID 11334e7aed98b12b0605d2f2d5ba8f587f5ffbc0 # Parent dc7c9557d412eea3b9dcdfb4999c7466329438da comment out some extra functions for debugging. diff -r dc7c9557d412 -r 11334e7aed98 burn-tmp-iso-image.sh --- a/burn-tmp-iso-image.sh Mon Feb 25 09:26:19 2013 +0000 +++ b/burn-tmp-iso-image.sh Mon Feb 25 09:35:08 2013 +0000 @@ -2,6 +2,6 @@ TARGET=/home/r/tmp/image.iso -cdrecord -multi -v gracetime=3 -overburn -data "$TARGET" +cdrecord -multi -v gracetime=3 -overburn -data "$TARGET" -rm $TARGET +#rm $TARGET diff -r dc7c9557d412 -r 11334e7aed98 cd-backup.sh --- a/cd-backup.sh Mon Feb 25 09:26:19 2013 +0000 +++ b/cd-backup.sh Mon Feb 25 09:35:08 2013 +0000 @@ -2,9 +2,9 @@ TARGET="/home/r/tmp/image.iso" -START=`cdrecord -msinfo` +#START=`cdrecord -msinfo` -echo "$START" +#echo "$START" GRAFT_POINTS='' @@ -16,16 +16,16 @@ #echo $GRAFT_POINTS -if [ "$START" == "0,0" ]; then +#if [ "$START" == "0,0" ]; then COMMAND="mkisofs -iso-level 4 -rJT -o $TARGET -graft-points $GRAFT_POINTS" +# echo $COMMAND +# eval $COMMAND +#else +# COMMAND="mkisofs -iso-level 4 -rJT -M /dev/cdrom \ +# -C $START -o $TARGET -graft-points $GRAFT_POINTS" echo $COMMAND eval $COMMAND -else - COMMAND="mkisofs -iso-level 4 -rJT -M /dev/cdrom \ - -C $START -o $TARGET -graft-points $GRAFT_POINTS" - echo $COMMAND - eval $COMMAND -fi +#fi echo "files copied to $TARGET. use 'burn-tmp-iso-image' to burn it."