CDDIST(1)

NAME
cddist - produce multi-CD/DVD distfile archive images

SYNOPSIS
cddist [-dRVv] [-dvd] [-h | - -help] [-l logfile] [-X extras_directory] [-x common_directory] distfiles_directory image_directory

DESCRIPTION
The cddist utility produces ISO 9660 image files for a multiple CD/DVD archive of pkgsrc distfiles.

The cddist utility archives all files and directories found in the directory distfiles_directory specified on the command line. The directory cd_image_directory is used as a staging area and the final ISO 9660 images are left in that directory. A file, .index, which lists the contents of each CD/DVD will be left in the root directory of each CD/DVD image.

-d  Enable debugging by not deleting temporary files at the end of the run. These files are left in TMPDIR.

-dvd
    Create DVD sized images rather than the default CD-ROM sized images.

-h

- -help
    Displays a short usage message.

-l logfile
    Log the output of mkisofs -v -v to the file logfile.

-R  Generate a file, README.txt, which will be placed in the root directory of each CD/DVD image. This README file contains a small amount of information about the contents of the CD/DVD set.

-V  Print the program version number and exit.

-v  Be verbose. Currently does not change things much.

-X directory
    Includes the contents of directory on the last CD/DVD in the set. This is useful for adding a pkgsrc.tar.gz tarball, i.e. a file which does not need to be on each CD/DVD.

-x directory
    Includes the contents of directory on each CD/DVD. This is useful for README files, etc., which you want to be present on each CD/DVD in the set.

EXIT STATUS

ENVIRONMENT
cddist uses the fillowing environment variables if set.

AWK awk implementation to use. Defaults to “/usr/bin/awk”.

TMPDIR
    Directory for holding temporary files during the image creation. Defaults to “/tmp”.

EXAMPLES
This example takes all of the distfiles found in /usr/pkgsrc/distfiles and creates cd images in /u2/images/disk{1,2,...}.iso. The directories /u2/images/disk{1,2,...} are used to create the ISO 9660 layouts.
    cddist /usr/pkgsrc/distfiles /u2/images

To include a common set of files on all CD/DVD's, place them in a directory, /tmp/foo in this example, and pass in the directory name with the -x option.
    cddist -x /tmp/foo /usr/pkgsrc/distfiles /u2/images

SEE ALSO
cdpack(1), mkisofs(1)

HISTORY
The cddist utility first appeared in the NetBSD packages collection in January, 2008.

AUTHORS
The cddist utility was written by Dan McMahill <dmcmahill@NetBSD.org>.