Content-type: text/html
gentapes - Produces distribution magnetic tape media
/usr/bin/gentapes [-wv] [hostname:]product-code special
Specifies that gentapes writes to the tape, but does not verify it. Specifies that gentapes verifies the tape without writing it first.
If neither option appears on the command line, the utility writes and
then verifies the files in the kit descriptor.
The gentapes utility is used to produce MT9 or TK50 magnetic tape media. The utility determines the appropriate media-code (TK or MT) based on the type of the tape drive special, appends that media-code to the product-code, and then uses this combined kit identifier to search /etc/kitcap for the corresponding kit descriptor. The utility uses the information in the kit descriptor to copy files to the tape media mounted on tape drive special. When all files have been transferred, the tape is rewound and read. The sum command is run on each file, and the results are compared with the checksum given for that file in the kit image file. The gentapes utility can produce multivolume tape kits and multiproduct tape kits. See kitcap(4) for information on specifying these features.
The optional hostname: argument is the name of a remote TCP/IP network machine that contains the kitcap file. The utility searches /etc/kitcap on the remote machine for the kit identifier and uses it for creating the media. The colon (:) is a required delimiter for TCP/IP networks, and space is permitted between the colon and the product-code. For example, if the product code is ULT-4.2-V-BW, and the kitcap file to be used is on node mynode, the proper syntax for this option is:
mynode:ULT-4.2-V-BW
The product-code is a user defined code. It can be any set of numbers or letters, and is usually formed in a way to have some meaning as to the product that it describes. For example, if the product's name is MYP and its version is 1, a proper product-code for that product might be MYP010.
The
special
argument indicates that the device
is a special device such as
/dev/nrmt0l. The actual partition
that the utility writes the files on is defined in the
kitcap
description for the
product-code
that is being
used. Therefore, it makes no difference what partition is appended to the
special device file used on the command line.
Device special files
Kit descriptor database
Files: kitcap(4)
Guide to Preparing Product Kits