#!/bin/sh _usage () { cat</dev/null 2>&1; then echo >&2 "'readcd' not found in PATH. Exiting." exit 1 fi ## Fast? readcd dev=$DRIVE f="$1.iso" -v retries=5 timeout=30 -noerror ## Slow # readcd f="$1.iso" -v retries=32 timeout=30 -s speed=16 -noerror # dd if=$DRIVE of='$1.iso' bs=2048 count=$(isosize -d 2048 $DRIVE) conv=sync,notrunc