Annotation of src/usr.bin/tcopy/tcopy.1, Revision 1.2
1.2 ! deraadt 1: .\" $OpenBSD: tcopy.1,v 1.3 1994/12/09 02:14:38 jtc Exp $
1.1 deraadt 2: .\" $NetBSD: tcopy.1,v 1.3 1994/12/09 02:14:38 jtc Exp $
3: .\"
4: .\" Copyright (c) 1985, 1990, 1991, 1993
5: .\" The Regents of the University of California. All rights reserved.
6: .\"
7: .\" Redistribution and use in source and binary forms, with or without
8: .\" modification, are permitted provided that the following conditions
9: .\" are met:
10: .\" 1. Redistributions of source code must retain the above copyright
11: .\" notice, this list of conditions and the following disclaimer.
12: .\" 2. Redistributions in binary form must reproduce the above copyright
13: .\" notice, this list of conditions and the following disclaimer in the
14: .\" documentation and/or other materials provided with the distribution.
15: .\" 3. All advertising materials mentioning features or use of this software
16: .\" must display the following acknowledgement:
17: .\" This product includes software developed by the University of
18: .\" California, Berkeley and its contributors.
19: .\" 4. Neither the name of the University nor the names of its contributors
20: .\" may be used to endorse or promote products derived from this software
21: .\" without specific prior written permission.
22: .\"
23: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33: .\" SUCH DAMAGE.
34: .\"
35: .\" @(#)tcopy.1 8.2 (Berkeley) 4/17/94
36: .\"
37: .Dd April 17, 1994
38: .Dt TCOPY 1
39: .Os BSD 4.3
40: .Sh NAME
41: .Nm tcopy
42: .Nd copy and/or verify mag tapes
43: .Sh SYNOPSIS
44: .Nm tcopy
45: .Op Fl cvx
46: .Op Fl s Ar maxblk
47: .Oo Ar src Op Ar dest
48: .Oc
49: .Sh DESCRIPTION
50: .Nm Tcopy
51: is designed to copy magnetic tapes. The only assumption made
52: about the tape is that there are two tape marks at the end.
53: .Nm Tcopy
54: with only a source tape
55: .Pf ( Ar rmt0
56: by default) specified will print
57: information about the sizes of records and tape files. If a destination
58: is specified a copy will be made of the source tape. The blocking on the
59: destination tape will be identical to that used on the source tape. Copying
60: a tape will yield the same output as if just printing the sizes.
61: .Pp
62: Options:
63: .Bl -tag -width s_maxblk
64: .It Fl c
65: Copy
66: .Ar src
67: to
68: .Ar dest
69: and then verify that the two tapes are identical.
70: .It Fl s Ar maxblk
71: Specify a maximum block size,
72: .Ar maxblk .
73: .It Fl v
74: Given the two tapes,
75: .ar src
76: and
77: .Ar dest
78: verify that they are identical.
79: .It Fl x
80: Output all informational messages to the standard error.
81: This option is useful when
82: .Ar dest
83: is
84: .Pa /dev/stdout .
85: .El
86: .Sh SEE ALSO
87: .Xr mtio 4
88: .Sh HISTORY
89: The
90: .Nm
91: command appeared in
92: .Bx 4.3 .