mkisofs -T -r -o /tmp/mycd.iso /data
cdrecord -v -eject -fs=4M speed=8 dev=0,0,0 /tmp/mycd.iso
Run “cdrecord -scanbus” to search for the CD burner on your machine.
mkisofs -T -r /data | cdrecord -v -eject -fs=4M speed=8 dev=0,0,0 -
If you prefer to use “tar” to backup your data to CD-R, here is another trick.
tar -czf - /data | cdrecord -v -eject -fs=4M speed=8 dev=0,0,0 -
This won't be mountable as a normal CD, and you won't be able to put it in a Windows system, but it works fine on Linux.
Discussion