asarch
04-21-2005, 09:44 PM
How can I add a new session to a CD?
I make the first session:
[#] mkisofs -o cdimage.iso
[#] cdrecord -multi -no-close -data cdimage.iso
Then, how can I add the next session?
Do I need read the first session to add it to the next session?
[#] readcd -o cdimage01.iso
[#] mkisofs -o cdimage02.iso
[#] cdrecord -multi -no-close -data cdimage01.iso cdimage02.iso
From this place (http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=man&fname=/usr/share/catman/man8/mkisofs.8.html&srch=mkisofs):
-C last_sess_start,next_sess_start
This option is needed when mkisofs is used to create a CDextra
or 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 ... If the -C option is used in
conjunction with the -M option, mkisofs will create a filesystem
image that is intended to be a continuation of the previous ses-
sion. If the -C option is used without the -M option, mkisofs
will create a filesystem image that is intended to be used for a
second session on a CDextra. This is a multi session CD that
holds audio data in the first session and a ISO9660 filesystem
in the second session.
I make the first session:
[#] mkisofs -o cdimage.iso
[#] cdrecord -multi -no-close -data cdimage.iso
Then, how can I add the next session?
Do I need read the first session to add it to the next session?
[#] readcd -o cdimage01.iso
[#] mkisofs -o cdimage02.iso
[#] cdrecord -multi -no-close -data cdimage01.iso cdimage02.iso
From this place (http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=man&fname=/usr/share/catman/man8/mkisofs.8.html&srch=mkisofs):
-C last_sess_start,next_sess_start
This option is needed when mkisofs is used to create a CDextra
or 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 ... If the -C option is used in
conjunction with the -M option, mkisofs will create a filesystem
image that is intended to be a continuation of the previous ses-
sion. If the -C option is used without the -M option, mkisofs
will create a filesystem image that is intended to be used for a
second session on a CDextra. This is a multi session CD that
holds audio data in the first session and a ISO9660 filesystem
in the second session.