Index Index for
Section 1
Index Alphabetical
listing for G
Index Bottom of
page

gentapes(1)

NAME

gentapes - Produces distribution magnetic tape media

SYNOPSIS

/usr/bin/gentapes [-v | -w] [hostname:] product-code special

OPTIONS

-v Verifies the product media without writing it first. -w Writes the product media without verification. The -v and -w options are mutually exclusive. If neither is used, the gentapes utility writes and verifies the files in the kit descriptor.

OPERANDS

hostname: The optional hostname: argument is the name of a remote network machine that contains the kitcap file. The gentapes utility searches /etc/kitcap on the remote machine for the kit identifier (product- code[TK|MT]) and uses it to create 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 product-code The product-code is a user defined code. It can be any set of numbers or letters, and should have some relationship to the product that it describes. For example, if the product is MYPRODUCT Version 1.0, the product-code might be MYPRODUCT100. special The special argument indicates that the device is a special device such as /dev/ntape/tape0l. Any partition appended to the special argument on the command line is ignored.

DESCRIPTION

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 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.

RESTRICTIONS

You must be superuser to run this program. If you use the optional hostname operand, you must be able to access files on the remote host as superuser. If you do not use the optional hostname operand, you can access the files used by gentapes only if you add the local hostname to the local /.rhosts file, as follows: hostname root. The -v and -w options are mutually exclusive. If neither is used, the gentapes utility writes and verifies the files in the kit descriptor.

FILES

/dev/ntape/tape?l Device special files /etc/kitcap Kit descriptor database

SEE ALSO

Commands: gendisk(1), sum(1) Files: kitcap(4) Guide to Preparing Product Kits

Index Index for
Section 1
Index Alphabetical
listing for G
Index Top of
page