#!/bin/bash #Copyright Richard Heck 2006-07 # #This script is released under the General Public License # #Version 0.2 #Added options for unattended operation # #TODO: #Need to add an option for setting raw read or raw-subchan read CDRDAO=`which cdrdao 2>/dev/null`; if [ -z "$CDRDAO" ]; then echo "This script uses the cdrdao utility. It does not appear to be in your path."; exit 1; fi READ_DEVICE=$(lsscsi | grep PIONEER | cut -c54-); WRITE_DEVICE=$(lsscsi | grep PLEXTOR | cut -c54-); DRIVER="generic-mmc"; PROG=`basename $0`; function printUsage { cat <