Burncd
From FreeBSDwiki
When using burncd your data must be put into a CD Image (iso file) before hand.
Install mkisofs
# pkg_add -r cdrtools
Make sure /dev/acd* have 666 permissions so users can write cd's
# chmod 666 /dev/acd*
Make the iso
# mkisofs -o file.iso -r <files>
Burn the CD
# burncd -f /dev/acd0 data file.iso fixate
Or do both commands in one:
# mkisofs -r mystuff | burncd -f /dev/acd0 -s max data – fixate
Shortcut (if you are burning to acd0 you don't have to use -f as acd0 is default)
# mkisofs -r mystuff | burncd data – fixate