Ignite-UX Reference (March 2010, B3921-90005)
ANSITAPE(1M) Merlin ANSITAPE(1M)
A This option is used to create an Ignite-UX recovery tape archive label.
MODIFIER KEY LETTERS
These key letters are part of the first argument to ansitape.
v Normally ansitape does its work silently; the v (verbose) option displays the name of each file
ansitape treats, preceded by the function letter. It also displays the volume name of each tape
as it is mounted. When used with the t option, ansitape displays the number of tape blocks
used by each file, the record format, and the carriage control option.
q Query before writing anything. On write (corroptions), this causes ansitape to ask before
writing to the tape. On extract operations, ansitape displays the Unix pathname, and asks if it
should extract the file. Any response starting with a y or Y means yes, any other response (includ-
ing an empty line) means no.
f File I/O is done to standard i/o instead. For example, when writing a tape file that is to contain a lint
listing, we could specify
lint xyz.c | ansitape rf xyz.lint
instead of
lint xyz.c > /tmp/xyz.lint
ansitape r /tmp/xyz.lint
rm /tmp/xyz.lint
When reading, this option causes the extracted files to be sent to stdout instead of a disk file.
a The tape should be read or written with the ASCII character set. This is the default.
e The tape should be written with the EBCDIC character set. The mapping is the same one used by
the dd(1) program with conv=ebcdic. This option is automatically enabled if IBM-format labels
are selected.
i Use IBM-format tape labels. The IBM format is very similar, but not identical, to the ANSI stan-
dard. The major difference is that the tape will contain no HDR3 or HDR4 records, thus restricting
the name of the files on the tape to 17 characters. This option automatically selects the EBCDIC
character set for output. To make an IBM-format label on a tape using the ASCII character set
(why?), use the option sequence ia.
3 Do not write HDR3 or HDR4 labels. The HDR3 label is reserved for the use of the operating sys-
tem that created the file. HDR4 is for overflow of filenames that are longer than the 17 characters
allocated in the HDR1 label. Not all systems process these labels correctly, or even ignore them
correctly. This switch suppresses the HDR3 and HDR4 labels when the tape is to be transfered to a
system that would choke on them.
FUNCTION MODIFIERS
Each of these options should be given as a separate argument to ansitape. Multiple options may be
specified. They must appear as after the key-letter options above, and before any filename arguments.
mt=device Select an alternate drive on which the tape is mounted. The default is /dev/rmt8.
vo=volume-name
Specify the name of the output volume. Normally, this defaults to the first six characters of
your login name. The string ’UNIX’ is used as the default if ansitape cannot determine
your login name.
wo=output_file
Specifiy the file name which stores the volume label information. With this option, user can
get volume label information easily.
rs=recordsize
Specify the output recordsize in bytes. This is the maximum size in the case of variable-
format files. This option also turns on the fixed-record-format option. Thus, if you want to
AICenter 23 June 1986 2