add man page, cleanup
[unix-history] / usr / src / usr.bin / tcopy / tcopy.1
.\" Copyright (c) 1985 Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" @(#)tcopy.1 6.3 (Berkeley) %G%
.\"
.TH TCOPY 1 ""
.UC 6
.SH NAME
tcopy \- copy and/or verify mag tapes
.SH SYNOPSIS
.B tcopy
[ -cv ] [ -s maxblk ] [src [ dest ]]
.br
.SH DESCRIPTION
\fITcopy\fP is designed to copy magnetic tapes. The only assumption made
about the tape is that there are two tape marks at the end. \fITcopy\fP
with only a source tape (\fBrmt0\fP by default) specified will print
information about the sizes of records and tape files. If a destination
is specified a copy will be made of the source tape. The blocking on the
destination tape will be identical to that used on the source tape. Copying
a tape will yield the same output as if just printing the sizes.
.PP
The \fB-s\fP option allows you to specify a maximum block size. The \fB-v\fP
option verifies that two tapes are identical. The \fB-c\fP option does
the copy and then verifies that the two tapes are identical.
.SH "SEE ALSO"
mtio(4)