There is no difference -- all of them are later than the first session.
For example you'd like to burn the contents of the current directory and prepare CD-ROM disk for the burning of the future sessions. In such case you can prepare image.iso file using the command:
Code:
mkisofs -r -J -D -o image.iso .
and burn it in multisession mode using the command:
Code:
cdrecord -v dev=/dev/cdrw -multi speed=12 image.iso
After that you could burn the contents of the other directory on the same disk. In such case you can prepare image.iso file with the command:
Code:
mkisofs -r -J -D -C `cdrecord -msinfo dev=/dev/cdrw` -M /dev/cdrw -o image.iso .
and burn it in multisession mode using the same command as before:
Code:
cdrecord -v dev=/dev/cdrw -multi speed=12 image.iso
The resulting CD-ROM disk has data stored in both burned directories. If some file burned during the consecutive session has the same name as the file burned previously the newer file overwrites the older one.
To close CD-ROM disk write the closing session with the command:
Code:
cdrecord -v dev=/dev/cdrw speed=12 image.iso