MK9660(8)                                               MK9660(8)

     NAME
          mk9660, pump - create and write ISO-9660 CD-ROM images

     SYNOPSIS
          disk/mk9660 [-c] [-e] [-a absfile] [-b bibfile] [-n notfile]
          [-o ofile] ifile

          disk/pump [-t target] [-m meg] [-n nproc] [ifile]

     DESCRIPTION
          Mk9660 reads the file system archive ifile as prepared by
          mkfs(8) and produces a file system on ofile (cd-rom by
          default) in ISO-9660 format.

          The options to mk9660 are:

          c    Convert all file names in the file system so that they
               conform to 9660 standards.  (Roughly this is eight or
               fewer single case alphanumerics followed by an optional
               period and three or fewer single case alphanumerics.)
               File names that conform are converted from lower case
               letters in the input filesystem to upper case in the
               output file system.  Files that do not conform are
               renamed to Fnumber and directories are renamed Dnumber.
               A file named _CONFORM.MAP is created in the root of the
               output file system with old-name new-name pairs of all
               converted files.

          e    Add a system-use field to every directory record that
               contains the name, uid, gid and mode of the file.  With
               or without this extension, directory records conform to
               the 9660 standard and should be able to be read on
               other systems.

          a    Places the named file to the abstract field of the pri-
               mary volume descriptor.  The file must be in the root
               directory.

          b    Places the named file in the bibliographic field of the
               primary volume descriptor.  The file must be in the
               root directory.

          n    Places the named file in the copyright field of the
               primary volume descriptor.  The file must be in the
               root directory.

          All dates in the output file system are set to the date the
          command was executed.  The volume identifier field of the
          primary volume descriptor is set to the last component of
          ifile. The system identifier field of the primary volume

     Page 1                       Plan 9             (printed 4/27/24)

     MK9660(8)                                               MK9660(8)

          descriptor is set to PLAN 9, and should be keyed to the
          interpretation of the system-use fields of the directory
          records.

          Pump reads ifile (cd-rom by default) and issues the SCSI
          commands to write a Phillips CDD 521 Compact Disk Recorder.
          The file is uninterpreted, but it can be a 9660 file system
          as produced by mk9660(8). The CD writer requires a sustained
          data rate of 305,600 bytes/sec.  To get this rate on an Eth-
          ernet from a file server, pump creates several processes
          that read ahead into shared buffers.  Even so, the file sys-
          tem should have fast disks or multiple disks with inter-
          leaved overlapping seeks.  The options to pump are:

          t    specifies the SCSI target (default 1) for the CD
               writer.

          m    specifies the total buffer space (default 10) in mega-
               bytes.

          n    specifies the number (default 3) of read-ahead pro-
               cesses.

     BUGS
          The pump command does not correctly set up the SCSI bus.
          Use the scuzz(8) command to open the desired SCSI target.

     SEE ALSO
          scsi(3), mkfs(8), scuzz(8).

     Page 2                       Plan 9             (printed 4/27/24)