Problem
I would like to create a multi-session CD Solution
Make sure you have Maintenance Pack 3 installed on your OpenServer 5.0.7 system.
For the following example it is assumed that you want to create 3 different sessions on a CD.
1. session = /opt/insight/ 2. session = /u/ 3. session = /var/
Run "cdrecord -scanbus" to determine the device settings of your CD/DVD burner. Example output:
Cdrecord-ProDVD-Clone 2.01a27 (i386-pc-sco3.2v5.0.7)
Copyright (C) 1995-2004 J¿¿rg Schilling
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'PLEXTOR ' 'DVDR PX-712A ' '1.03'
Removable CD-ROM
1,1,0 101) 'TEAC ' 'CD-540E ' '1.0A'
Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *In this case the CD burner is at 1,0,0.
Now make sure that you have an empty CD. You can blank a RW-CD by issuing the command "cdrecord dev=1,0,0 -blank=fast"
Now follow these steps:
1. mkisofs -o /session1.iso -l -r -J -T /opt/insight/
This will create the image /session1.iso2. cdrecord dev=1,0,0 -multi /session1.iso This will burn the first session on the CD
3. cdrecord -msinfo dev=1,0,0 This will print out 2 numbers (X,Y). These two numbers are required in step 4
4. mkisofs -o /session2.iso -l -r -J -C X,Y -M /dev/cd0 /u/ Substitute X and Y with the output of step 3
5. cdrecord dev=1,0,0 -multi /session2.iso This will burn the second session on the CD
6. cdrecord -msinfo dev=1,0,0 This will print out 2 numbers (X,Y). These two number are required in step 7
7. mkisofs -o /session3.iso -l -r -J -C X,Y -M /dev/cd0 /var/ Substitute X and Y with the output of step 6
8. cdrecord dev=1,0,0 /session3.iso This will burn the third session on the CD. Note that this will close the CD because the option "-multi" is missing.
Mount the CD with "mount -r /dev/cd0 /mnt"NOTES: At this time multi-session support is only available for
CD and not for DVD.