Professional Web Applications Themes

Multisession CDs with 'burncd' - FreeBSD

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 ...

  1. #1

    Default Multisession CDs with 'burncd'

    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
    Alejandro Guest

  2. #2

    Default Re: Multisession CDs with 'burncd'

    On Wednesday 09 March 2005 11:36 am, Alejandro Pulver wrote: 

    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
    Michael Guest

  3. #3

    Default Re: Multisession CDs with 'burncd'

    On Wed, 09 Mar 2005 12:33:33 -0800
    "Michael C. Shultz" <com> wrote:
     
    >
    > 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
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "org"[/ref]

    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
    Alejandro Guest

Similar Threads

  1. cdrom & multisession
    By vittorio in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 11th, 12:01 PM
  2. multisession cdrecord question
    By ehab in forum Sun Solaris
    Replies: 1
    Last Post: June 30th, 06:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139