Commit | Line | Data |
---|---|---|
725a8fbf KB |
1 | .\" Copyright (c) 1985, 1990, 1991, 1993 |
2 | .\" The Regents of the University of California. All rights reserved. | |
c238008e | 3 | .\" |
fc6d8af5 | 4 | .\" %sccs.include.redist.man% |
5f1166a1 | 5 | .\" |
2ace6764 | 6 | .\" @(#)tcopy.1 8.2 (Berkeley) %G% |
c238008e | 7 | .\" |
fc6d8af5 CL |
8 | .Dd |
9 | .Dt TCOPY 1 | |
10 | .Os BSD 4.3 | |
11 | .Sh NAME | |
12 | .Nm tcopy | |
13 | .Nd copy and/or verify mag tapes | |
14 | .Sh SYNOPSIS | |
15 | .Nm tcopy | |
2ace6764 | 16 | .Op Fl cvx |
fc6d8af5 CL |
17 | .Op Fl s Ar maxblk |
18 | .Oo Ar src Op Ar dest | |
19 | .Oc | |
20 | .Sh DESCRIPTION | |
21 | .Nm Tcopy | |
22 | is designed to copy magnetic tapes. The only assumption made | |
23 | about the tape is that there are two tape marks at the end. | |
24 | .Nm Tcopy | |
25 | with only a source tape | |
26 | .Pf ( Ar rmt0 | |
27 | by default) specified will print | |
5f1166a1 KB |
28 | information about the sizes of records and tape files. If a destination |
29 | is specified a copy will be made of the source tape. The blocking on the | |
30 | destination tape will be identical to that used on the source tape. Copying | |
31 | a tape will yield the same output as if just printing the sizes. | |
fc6d8af5 CL |
32 | .Pp |
33 | Options: | |
34 | .Bl -tag -width s_maxblk | |
35 | .It Fl c | |
36 | Copy | |
37 | .Ar src | |
38 | to | |
39 | .Ar dest | |
40 | and then verify that the two tapes are identical. | |
41 | .It Fl s Ar maxblk | |
42 | Specify a maximum block size, | |
43 | .Ar maxblk . | |
44 | .It Fl v | |
45 | Given the two tapes, | |
46 | .ar src | |
47 | and | |
48 | .Ar dest | |
49 | verify that they are identical. | |
2ace6764 KM |
50 | .It Fl x |
51 | Output all informational messages to the standard error. | |
52 | This option is useful when | |
53 | .Ar dest | |
54 | is | |
55 | .Pa /dev/stdout . | |
fc6d8af5 CL |
56 | .El |
57 | .Sh SEE ALSO | |
58 | .Xr mtio 4 | |
59 | .Sh HISTORY | |
60 | The | |
61 | .Nm | |
62 | command appeared in | |
63 | .Bx 4.3 . |