Re: multisession cdrecord question

From: Damir (damirguzvinec_at_yahoo.com)
Date: 06/30/03


Date: Mon, 30 Jun 2003 08:58:58 +0200


"ehab" <hpy_azizy@yahoo.com> wrote in message
news:b4f59294.0306271728.639ff5c7@posting.google.com...
> # cdrecord -msinfo dev=1,1,0
> RAW/R16 0,221691
> # cdrecord -msinfo dev=1,1,0
> RAW/R16 44317,51858
>
> what can be implied by those 2 data?
> how can I write after those s session written ?

>From "man mkisofs":
------
-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. The option -C takes a pair
          of two numbers separated by a comma. The first number
          is the sector number of the first sector in the last
          session of the disk that should be appended to. The
          second number is the starting sector number of the new
          session. The expected pair of numbers may be retrieved
          by calling cdrecord -msinfo ... the -C option may only
          be uses in conjunction with the -M option.
------
This two numbers will return cdrecord dev=1,1,0 -msinfo

To create the second session on the cdrom:

cdrecord dev=1,1,0 -msinfo
For example:
0,221691

create a second session image using: :
mkisofs -o cd_2.iso -J -R -C 0,221691 -M 1,1,0 data_dir/
OR
mkisofs -o cd_2.iso -J -R -C `cdrecord dev=1,1,0 -msinfo` -M 1,1,0 data_dir/

create the second session on the cdrom:
cdrecord -v speed=4 dev=1,1,0 -eject -multi cd_2.iso

Visit the site:
http://www-106.ibm.com/developerworks/linux/library/l-cdburn.html?ca=dgr-lnx
w82BurnCDs

Damir



Relevant Pages