cdrecord -v dev=0,0,0 speed=8 fs=24m -data -pad CD_IMAGE
mkisofs -V MY_CD_LABEL -R -o CD_IMAGE burn_dir cdrecord -v dev=0,0,0 speed=8 fs=24m -data -pad CD_IMAGE eject /dev/scd0
The above mkisofs command reads in all files and directories under the directory burn_dir and creates one file, CD_IMAGE, in a format used by CD-ROMs. The cdrecord command then writes/burns the image to the CD-ROM.
The eject command is for those of us too lazy to push the CD-ROM eject button.
Linux Quick Reference Home