Installation guide

52 Chapter 4. Diskettes and CD-ROMs
Option Function
Option Function
-o Specify an output filename of the ISO image
-J Generate Joliet naming records; useful if the CD will be used in
Windows environments
-R Generate Rock Ridge (RR) naming records to preserve filename
length and casing, especially for UNIX/Linux environments
-A Set an Application ID — a text string that will be written into the
volume header of the image that can be useful to determine what
applications are on the CD
-V Set a Volume ID — a name that will be assigned to it if the image
is burned and the disc is mounted in Solaris and Windows
environments
-v Set verbose execution, which is useful for viewing the status of
the image as it is being made.
-x Exclude any directory immediately following this option; this
option can be repeated (for example, ... -x /home/joe/trash -x
/home/joe/delete ...)
Table 4-1. mkisofs Options
4.3.2.2. Using cdrecord
The cdrecord utility writes audio, data, and mixed-mode (a combination of audio, video, and/or data)
CD-ROMs using options to configure several aspects of the write process, including speed, device,
and data settings.
To use cdrecord, you must first establish the device address of your CD-R(W) device by running the
following command as root at a shell prompt:
cdrecord -scanbus
This command will show all CD-R(W) devices on your computer. Remember the device address of
the device you will use to write your CD. The following is an example output from running cdrecord
-scanbus.
Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jorg Schilling
Using libscg version ’schily-0.1’
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) ’HP ’ ’CD-Writer+ 9200 ’ ’1.0c’ Removable CD-ROM
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
To write the backup file image created with mkisofs in the previous section, switch to root user and
type the following at a shell prompt:
cdrecord -v -eject speed=4 dev=0,3,0 backup.iso