Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2005 12:33:33 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Multisession CDs with 'burncd'
Message-ID:  <200503091233.34536.ringworm01@gmail.com>
In-Reply-To: <20050309163647.24f893d5@ale.varnet.bsd>
References:  <20050309163647.24f893d5@ale.varnet.bsd>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503091233.34536.ringworm01>