On Wed, 11 Jun 2003 20:41:41 +0100 (BST) Richard Ibbotson <richard@sheflug.co.uk> wrote:
For some time now I've been backing up my own data to CDs with a CD-Recorder. To do this I've got a cron job which runs a script which creates an ISO image and drops it onto a recordable CD.....
rsync -a /home/mydocuments/ /home/mybackup/ > /dev/null 2>&1 mkdir -p /tmp/backup export FILE=backup-`date +%Y%m%d`.tgz tar -cz /home/mybackup > /tmp/backup/$FILE mkisofs -r -J -o /tmp/backup.iso /tmp/backup # cdrecord -v speed=2 dev=0,1,0 blank=fast cdrecord -v speed=2 dev=0,1,0 -data /tmp/backup.iso rm -rf /tmp/backup /tmp/backup.iso
From your error log: Cdrecord 2.0 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0
But in your script, you are assigning dev=0,1,0 I don't know if that would cause that problem, but it isn't right. Also, have you tried to use ide-scsi? Are you declaring /dev/hdc=ide-scsi (or whatever) in your grub or lilo conf? -- use Perl; #powerful programmable prestidigitation