From owner-freebsd-questions Mon Jun 21 23:11:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gate.druzhba.com (d14.lv.ukrtel.net [195.5.29.190]) by hub.freebsd.org (Postfix) with ESMTP id 5F6E21518F for ; Mon, 21 Jun 1999 23:11:25 -0700 (PDT) (envelope-from andriy@trgz.lviv.ua) Received: from pc02 (pc02.druzhba.com [194.44.88.102]) by gate.druzhba.com (8.9.2/8.9.2) with SMTP id JAA96620 for ; Tue, 22 Jun 1999 09:11:23 +0300 (EEST) (envelope-from andriy@trgz.lviv.ua) Message-ID: <003101bebc76$0dd3cde0$66582cc2@pc02.druzhba.com> From: "Andriy Galetski" To: Subject: Re: cd-to-cd copying... Date: Tue, 22 Jun 1999 09:11:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 21 Jun 1999, Ian Clendaniel wrote: > Alright...couldn't find anything about this in the archive so I figured > I'd pose the question. Does anyone know of an application (or even a > script) that can do direct cd to cd copying??...I'm talking an exact > duplicate of a cd. I am able to burn (and re-burn) disks fine using > cdrecord and mkisofs but need the ability to make duplicates of existing > cds. Anyone have an idea? Hi! I have SCSI Pinacle RCD 5040 and IDE CDROM drive on the same PC. I use following script to duplicate cd2cd on te fly -------------------------------------------------- # Script for cd duplicating # echo "1. - Test CD " echo "2. - Test & Write CD" echo "3. - Write only" echo "----------------------" echo -n "What do you want? [2]:> " read sel_mod case $sel_mod in 1) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c; cdrecord dev=2,0 -eject;; 2) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c; echo -n "Do you want to burn CD now (y/n) [y]:> "; read confirm; if [ "X${confirm}" != X"n" ]; then cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c fi; cdrecord dev=2,0 -eject;; 3) cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c; cdrecord dev=2,0 -eject;; *) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c; echo -n "Do you want to burn CD now (y/n) [y]:> "; read confirm; if [ "X${confirm}" != X"n" ]; then cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c fi; cdrecord dev=2,0 -eject;; esac exit 0 #--------------- end of the script ----------- Warning!!! Maybe some changes neaded for you specific device name. Best regards. andriy@trgz.lviv.ua -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message