[svlug] CD copying

Scott Hess scott at doubleu.com
Fri Jun 20 13:18:21 PDT 2003


I would say that's the right choice (because that's how I've always done 
it, and I've copied data CD's on the fly), but what I really want to 
mention is:

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

I think you want to put those on seperate IDE controllers.  hda/hdb share
a single controller, hdc/hdd likewise.  What I generally do is put hard
drives at master position, never shared (hda, hdc, hde, etc), and put CD
drives at slave position (hdb, hdd, hdg, etc), unless I have a spare
master.

I believe that writes block reads on one controller (though it may be that
reads block writes).  This can be covered to a certain extent by using 
very large buffers, but it's cleaner to just avoid the problem.

Of course, this pulls in an entirely seperate issue - some CD writing 
commands take a very long time, like fixation, and at that point you 
_don't_ want to be sharing the controller with a hard drive.  That's why I 
eventually got a seperate IDE controller so that I could get my CD writer 
on a distinct channel.

Later,
scott


On Fri, 20 Jun 2003, Sanatan Rai wrote:
> 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
> 
> 





More information about the svlug mailing list