RDT(1)
NAME
RDT - Read Diagnostic Tape
SYNTAX
General Format:
rdt function(s) -qualifier(s) filename(s)
Specific Format:
rdt tvx [-Bblksize] [-Ddens] [ filename(s) ] ...
DESCRIPTION
The RDT command reads diagnostic programs to disk from labeled tapes. The reading is based upon the precepts set forth in the ANSI standard x3.27-1978 and assumed to be written by a VAX/VMS system. As each file is read from the tape, a disk file (of the same name) is created in the user’s area to contain the diagnostic program.
The actions of RDT are controlled by one or more of several possible characters that must appear in the first command-line argument (the function). Other RDT arguments (the qualifiers) specify tape format parameters. The final argument(s) specify the file or files.
The function portion of the command-line argument is specified by one of the following characters:
t The names of the specified files are listed. If no file argument is given, all the files on the tape are listed.
v RDT does its work with little terminal output. The v option (verbose) causes RDT to type the name of each file after processing it. With the ’t’ function, ’v’ gives more information about the tape entries than the name.
x The named files are extracted from the tape. If no file argument is given, the entire content of the tape is extracted.
RDT supports the following command qualifiers:
−B blksize
´blksize’ is the blocksize for tape records. The default is 2048, the maximum is 20480. The blocksize may also be specified as multiples of 512 or 1024 by appending either the character ’b’ or ’k’ to ’blksize’, respectively. For example, blocksizes such as 4b or 2k both equal 2048.
−D dens
´dens’ is the density of the tape. Possible values are 800 or 1600. The default is 1600 bpi. If ’dens’ is neither "800" nor "1600", RDT takes ’dens’ to be the name of the tape device. For example, /dev/rmt9 . The device must be a raw, nonrewinding magnetic tape drive.
NOTE: There are no spaces after the −D qualifier. For example, you must type ’-D800.’ The same principle applies to the other qualifiers as well.
The last command-line arguments are file names.
FILES
/dev/rmt81600 bpi tape device (default)
/dev/rmt96250 bpi tape device
DIAGNOSTICS
Diagnostics from RDT are written on the standard error file. There are two forms: ’warnings’ which are not fatal and ’errors’ which are. The majority of diagnostics are intended to be self-explanatory. Some that might not be are:
"illegal label format (HDR1)"
The header it is reading contains an incorrect label identififier or label number. The correct header label name is enclosed between parentheses.
"pwd failed!"
Cannot execute /bin/pwd or /usr/bin/pwd.
"cannot find mkdir!"
Cannot execute /bin/mkdir or /usr/bin/mkdir.