Date: Wed, 9 Mar 2005 18:10:43 -0300 From: Alejandro Pulver <alejandro@varnet.biz> To: "Michael C. Shultz" <ringworm01@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Multisession CDs with 'burncd' Message-ID: <20050309181043.6716e3ce@ale.varnet.bsd> In-Reply-To: <200503091233.34536.ringworm01@gmail.com> References: <20050309163647.24f893d5@ale.varnet.bsd> <200503091233.34536.ringworm01@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Mar 2005 12:33:33 -0800 "Michael C. Shultz" <ringworm01@gmail.com> wrote: > 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 <ST340014A/3.16> ATA/ATAPI revision 6 > > Slave: acd0 <HL-DT-ST GCE-8523B/1.01> ATA/ATAPI revision 0 > > ATA channel 1: > > Master: ad2 <Maxtor 6E040L0/NAR61590> 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 > _______________________________________________ > 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" Thank you for your reply. I am a bit confused with your answer (I think "start a new CD" and "add to the CD" are swapped; I think a session on a new CD will not require -C). The manual page of burncd(1) says the following: -C last_sess_start,next_sess_start This option is needed when mkisofs is used to create the image of a second session or a higher level session for a multi session disk. [...] Could you please send me the complete script if possible? Thanks and Best Regards, Ale
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309181043.6716e3ce>