[svlug] CD copying

Sanatan Rai sanat at stanford.edu
Fri Jun 20 12:53:54 PDT 2003


Hi,
I am trying to copy audio CDs on the fly.

I have two drives, one CD-R (/dev/hdc) and the other CD-RW (/dev/hdd).

Lilo passes hdd=ide-scsi at boot time, so that the CD-RW is seen as a
SCSI-device with id 0,0,0.

Now I can copy discs by making images and then writing the image onto
the blank. What I should like to do is copy `on-the-fly', that is, put
the disc to be copied in the CD-R, the blank and CD-RW and then use a
single command line to copy.

Trouble is that cdrdao seems to want the source drive to be scsi as
well, so that:

cdrdao copy --source-device /dev/cdrom --device 0,0,0 --driver
generic-mmc

complains:

<snipped>

Using libscg version 'andreas-0.5-UNIXWARE_Patch'

0,0,0: ARTEC WRR-4848	Rev: 1.00
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

ERROR: /dev/cdrom: Need a filename that resolves to a SCSI device.
ERROR: Cannot open SCSI device '/dev/cdrom': Cannot open '/dev/cdrom'
ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0
ERROR: Cannot setup source device /dev/cdrom.

Is there a way around this? Or must I pass hdc=ide-scsi at boot time?

Thanks!

--Sanatan

-- 
Sanatan Rai,                      | EMail: sanat at stanford.edu
Dept. of Management Sc. & Engg.   | Home: 100 N. Whisman Road 4316,
Stanford University,              |       Mountain View, Ca 94043.
Stanford, Ca 94305.               | 'phone: (650) 964 0220 (R)
                                  |         (650) 736 2109 (O)





More information about the svlug mailing list