DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

cdmtArchive(CDMT)


cdmtArchive -- generate custom-installable archives from the $CDMT_DIR/sso hierarchy

Syntax

cdmtArchive [-f] [-config filename] [-media media_type] [-copy]

Description

cdmtArchive generates custom-installable archives from the $CDMT_DIR/sso hierarchy.

By default, cdmtArchive reads the $CDMT_DIR/cdmt.config file, if it exists, for additional configuration information. See cdmt.config(CDMT).

By default, cdmtArchive places archives in the $CDMT_DIR/archives/TAPE directory. You can then copy the archives to a single volume of tape media or install them directly, using custom. cdmtArchive generates the following output in the $CDMT_DIR/archives/TAPE directory:


VOL.volumeIndex.archiveIndex
a cpio archive, where volumeIndex is the physical media volume to copy the archive media and archiveIndex is the archive number

VOL.volumeIndex.archiveIndex.files
a file consisting of a list of the files in each archive, used to generate the actual archive

VOL.volumeIndex.archiveIndex.sum
a file containing the sum of the archive, generated using the sum -lr command
cdmtArchive accepts the following options:

-f
Do not prompt user when removing previous files and directories.

-config filename
Read the specified configuration filename, instead of the default $CDMT_DIR/cdmt.config file.

-copy
Copy the archives to tape. Use this option only after previously invoking cdmtArchive to actually create the archives.

-f copy
Same as the -copy option, except do not prompt for tape insertion. Use this option for unattended invocations of cdmtArchive.

-media media_type
Specify the media type to which to copy archive, where media_type is TAPE, CD, or FLOPPY.

Exit values

If execution was successful, cdmtArchive exits with a value of 0. If execution failed, cdmtArchive exits with a non-zero number.

Files

/usr/bin/cdmtArchive

See also

cdmt.config(CDMT), cdmtCompress(CDMT), custom(ADM), sum(C)

``Creating custom-installable software distributions'' in Developer's Topics

Standards conformance

cdmtArchive is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003