118
Figure 13-4. The CD/DVD Creator Write Dialog Box
By default, the CD or DVD should automatically eject from your drive when it is finished. Since it is
generally recommended to periodically backup personal files, CD/DVD Creator can help you do so
quickly.
13.3.2. Using CD-Rs and CD-RWs with Command Line Tools
There are two shell prompt applications used to write image to CDs and DVDs:
. These utilities have several advanced options that are beyond the scope of this guide;
cdrecord
however, for basic image creation and writing, these tools save some time over the graphical
alternatives such as CD/DVD Creator.
13.3.2.1. Using
mkisofs
The
utility creates ISO9660 image files that can be written to a CD or DVD. The images
mkisofs
created by
mkisofs
poses. For CDs, make sure that the total data to be written is less than 760MB. For DVDs, make sure
that it is less than 4.7GB of data.
Suppose you wish to backup a directory called
/home/user/junk/
and write it to CD or DVD. Backing up your data as an ISO9660 image is useful in
backup.iso
that it can be read by both Red Hat Enterprise Linux and Windows systems. This can be done with
by running the following command:
mkisofs
mkisofs -o backup.iso -x /home/joeuser/junk/ -J -R -A -V -v /home/joeuser/
The image is created in your current working directory. Table 13-1 explains each command
line option. For more information on using
Section 13.4 Additional Resources.
You can now use the ISO image file with
For more information about using
Option
-o
-J
-R
can include all types of files. It is most useful for archival and file backup pur-
because it contains unnecessary files. You want to create an ISO image called
cdrecord
Function
Specifies an output file name of the ISO image.
Generates Joliet naming records; useful if the CD is used in
Windows environments.
Generates Rock Ridge (RR) naming records to preserve filename
length and casing, especially for UNIX/Linux environments.
Chapter 13. Diskettes and CD-ROMs
/home/user/
, refer to the additional resources in
mkisofs
, the command line based CD recording utility.
cdrecord
, refer to Section 13.3.2.2 Using
mkisofs
, but exclude the subdirectory
.
cdrecord
and
Need help?
Do you have a question about the ENTERPRISE LINUX 4 - STEP BY STEP GUIDE and is the answer not in the manual?
Questions and answers