Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

genra(1)

sum(1)

kitcap(5)

gentapes(8)

Name

gentapes − produce distribution mag tape media

Syntax

/etc/gentapes [-{wv}] [hostname:]product_code special

Description

The gentapes utility is used to produce MT9 or TK50 mag tape distribution media.  The utility searches /etc/kitcap for the product_code as provided by the user on the command line, plus the letters "TK" which is appended to the product code by the utility.  If a corresponding kit descriptor is found in /etc/kitcap, the utility uses the information in the kit descriptor to copy files to the tape media mounted on tape drive special.  Once all files have been transferred, the tape is rewound and each file is verified by using the results of sum and comparing it to sums given in the kit image file.  The gentapes utility can support multi-volume tape kits, and multiproduct tape kits.  See kitcap() for information on how to set up these features.

The optional hostname: is the name of a remote TCP/IP network machine that contains the kitcap file.  The utility will search /etc/kitcap on the remote machine for the product_code and use it for creating the media.  The colon (:) is a required delimiter for TCP/IP networks, and there is no space between the colon and the product_code. For example, if the product code was ULT-2.2-V-BW, and the kitcap file to be used was on node "mynode", the proper syntax for this option would be

mynode:ULT-2.2-V-BW

The product_code is a user defined code that is located in /etc/kitcap, and describes the partition, directories, and subsets, that make up a kitcap description.  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 name is MYPRODUCT and it is version 1, a proper product_code for that product might be MYP010. 

The special argument is a special device such as /dev/nrmt?l. 

Options

−wWrite only. 

−vVerify only. 

If neither option appears on the command line, then by default, the utility will write, then verify, the files in the kit descriptor. 

Restrictions

You must be a superuser to run this program.  If the optional hostname is used, you must be able to access files on the remote host as superuser. 

Files

/dev/nrmt?l ra device special files

/etc/kitcap Kit descriptor database

See Also

genra(1), sum(1), kitcap(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026