System Administration Guide: Basic Administration

How to Create an ISO 9660 File System for a Data CD

  1. Insert a blank CD into the CD-RW device.

  2. Create the ISO 9660 file system on the new CD.


    % mkisofs -r /pathname > cd-file-system
    

    -r

    Creates Rock Ridge information and resets file ownerships to zero. 

    /pathname

    Identifies the pathname used to create the ISO 9660 file system. 

    > cd-file-system

    Identifies the name of the file system to be put on the CD. 

  3. Copy the CD file system onto the CD.


    % cdrw -i cd-file-system
    

    -i cd-file-system

    Specifies the image file for creating a data CD. 

Example—Creating an ISO 9660 File System for a Data CD

The following example shows how to create a ISO 9660 file system for a data CD.


% mkisofs -r /home/dubs/ufs_dir > ufs_cd
Total extents actually written = 56
Total translation table size: 0
Total rockridge attributes bytes: 329
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8000
56 extents written (0 Mb)

Then copy the CD file system onto the CD. For example:


% cdrw -i ufs_cd
Initializing device...done.
Writing track 1...done.
Finalizing (Can take several minutes)...done.