[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cd-to-cd burning



On Tue, 13 Apr 1999, Matt Garman wrote:

> What is the best way to do CD-to-CD copying under Linux?
> Specifically, I have a copy of the "official" debian 2.1 (slink) CD
> of which I want to burn an identical copy.
> 
> Is it necessary to make an ISO9660 image from the current CD and then
> burn?  Surely there is an easier way to get around this.

Haven't tried this one, but:

dd if=/dev/cdrom1 of=/dev/stdout bs=1048576|cdrecord dev=???? speed=?? -v
-xa2 /dev/stdin

(try it with the -dummy flag first as I've never done this!)

You may have to work with a named pipe (more likely to work)
something like this:

mkfifo /tmp/cdimage
dd if=/dev/cdrom1 of=/tmp/cdimage bs=1048576 & cdrecord dev=???? speed=??
-v -xa2 /tmp/cdimage
rm /tmp/cdimage

(again, use the -dummy flag until you're pretty sure it will work).
note that /tmp/cdimage never exists on the disk, a named pipe is entirely
virtual.

Good luck, let me know if this works.

-Dano


Reply to: