From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 20:33:37 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC2DF16A4CE for ; Wed, 9 Mar 2005 20:33:37 +0000 (GMT) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5914D43D41 for ; Wed, 9 Mar 2005 20:33:37 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0ID300LYKQG0OD61@vms048.mailsrvcs.net> for freebsd-questions@freebsd.org; Wed, 09 Mar 2005 14:33:37 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 5FB752CE743; Wed, 09 Mar 2005 12:33:35 -0800 (PST) Date: Wed, 09 Mar 2005 12:33:33 -0800 From: "Michael C. Shultz" In-reply-to: <20050309163647.24f893d5@ale.varnet.bsd> To: freebsd-questions@freebsd.org Message-id: <200503091233.34536.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <20050309163647.24f893d5@ale.varnet.bsd> User-Agent: KMail/1.7.2 Subject: Re: Multisession CDs with 'burncd' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 20:33:37 -0000 On Wednesday 09 March 2005 11:36 am, Alejandro Pulver wrote: > Hello, > > How can I burn multisession CDs with 'burncd'? > > I have FreeBSD 5.3. > > # atacontrol list > > ATA channel 0: > Master: ad0 ATA/ATAPI revision 6 > Slave: acd0 ATA/ATAPI revision 0 > ATA channel 1: > Master: ad2 ATA/ATAPI revision 7 > Slave: no device present > > I tried this: > > == first session == > > % mkisofs -o proj.iso -allow-lowercase -allow-multidot Projects > > # burncd -e -f /dev/acd0 -m -s 4 -v data proj.iso fixate > > (works, I can mount it, read it, read it with Windows, and it appears > to close the session but not the disk) > > == second session == > > # burncd -f /dev/acd0 msinfo > 0,12794 > > % mkisofs -o test.iso -allow-lowercase -allow-multidot -C 0,12794 > instalar > > # burncd -e -f /dev/acd0 -m -s 4 -v data test.iso fixate > > adding type 0x08 file test.iso size 40492 KB 20246 blocks > next writeable LBA 12794 > addr = 12794 size = 41463808 blocks = 20246 > writing from file test.iso size 40492 KB > > only wrote -1 of 32768 bytes: Input/output error > > fixating CD, please wait.. > > (it does not write anything) > > ------------------------------------------------------------------ > > What am I doing wrong? > > What is the DAO mode? > > Should I try with SCSI programs like 'cdrecord', etc.? Are them > better? > > Thanks and Best Regards, > Ale > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Here is a snippette from the script I use, maybe it will give you some ideas: DT=`date "+%Y%m%d%H%M%S"` To start a new CD mkisofs -r -o /home/mike/backup-${DT}.iso -C `cdrecord -msinfo \ dev=1,0,0` -M /dev/cd0 /home/mike/BACKUP-${DT} cdrecord -v -multi -speed 4 -data dev=1,0,0 /home/mike/backup-${DT}.iso To add to the CD mkisofs -r -o /home/mike/backup-${DT}.iso /home/mike/BACKUP-${DT} cdrecord -v -multi -speed 4 -data dev=1,0,0 /home/mike/backup-${DT}.iso -Mike