Data to CD
Many users also utilize CD-ROM drives to create data backups on CD of a system's home directory and files. The Solaris 8 Operating Environment includes a very useful command for this, mkisofs, which creates an image file when pointed at a system directory. To make an image file of a home directory, for example /home/neal, type the following:
# mkisofs -l -L -r -o /local/mycdromfile2.iso /home/neal
This will take all the files in the /home/neal directory and create a CD-ROM ISO image file at /local/mycdromfile2.iso.
When this is finished, insert a blank CD into the CD-ROM drive, and type the following:
# cdrecord -v /local/mycdromfile2.iso
This will copy the data image onto the blank CD, and should take about 1530 minutes, depending on the speed of the burner. More information about the mkisofs command, including all its configurable options, can be found by typing man mkisofs at a shell prompt.
For additional software and hardware information, documentation, source code, and a list of supported CD recorders for cdrecord (an Open Source project), visit the Freshmeat Web site. To learn more about the Solaris Operating Environment, please visithttp://www.sun.com/solaris.