[BACK]Return to tcopy.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcopy

Annotation of src/usr.bin/tcopy/tcopy.1, Revision 1.10

1.10    ! jmc         1: .\"    $OpenBSD: tcopy.1,v 1.9 2003/06/03 02:56:17 millert Exp $
1.3       millert     2: .\"    $NetBSD: tcopy.1,v 1.4 1997/04/15 07:23:07 lukem Exp $
1.1       deraadt     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.
1.9       millert    15: .\" 3. Neither the name of the University nor the names of its contributors
1.1       deraadt    16: .\"    may be used to endorse or promote products derived from this software
                     17: .\"    without specific prior written permission.
                     18: .\"
                     19: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     20: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     21: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     22: .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     23: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     24: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     25: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     26: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     27: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     28: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     29: .\" SUCH DAMAGE.
                     30: .\"
                     31: .\"     @(#)tcopy.1    8.2 (Berkeley) 4/17/94
                     32: .\"
1.10    ! jmc        33: .Dd $Mdocdate$
1.1       deraadt    34: .Dt TCOPY 1
1.5       aaron      35: .Os
1.1       deraadt    36: .Sh NAME
                     37: .Nm tcopy
                     38: .Nd copy and/or verify mag tapes
                     39: .Sh SYNOPSIS
                     40: .Nm tcopy
                     41: .Op Fl cvx
                     42: .Op Fl s Ar maxblk
                     43: .Oo Ar src Op Ar dest
                     44: .Oc
                     45: .Sh DESCRIPTION
1.7       aaron      46: .Nm
                     47: is designed to copy magnetic tapes.
                     48: The only assumption made
1.1       deraadt    49: about the tape is that there are two tape marks at the end.
1.7       aaron      50: .Nm
1.1       deraadt    51: with only a source tape
1.3       millert    52: .Pf ( Ar /dev/rst0
1.1       deraadt    53: by default) specified will print
1.7       aaron      54: information about the sizes of records and tape files.
                     55: If a destination
                     56: is specified a copy will be made of the source tape.
                     57: The blocking on the
                     58: destination tape will be identical to that used on the source tape.
                     59: Copying a tape will yield the same output as if just printing the sizes.
1.1       deraadt    60: .Pp
1.6       aaron      61: The options are as follows:
1.8       aaron      62: .Bl -tag -width Ds
1.1       deraadt    63: .It Fl c
                     64: Copy
                     65: .Ar src
                     66: to
                     67: .Ar dest
                     68: and then verify that the two tapes are identical.
                     69: .It Fl s Ar maxblk
                     70: Specify a maximum block size,
                     71: .Ar maxblk .
                     72: .It Fl v
                     73: Given the two tapes,
1.4       aaron      74: .Ar src
1.1       deraadt    75: and
1.4       aaron      76: .Ar dest ,
1.1       deraadt    77: verify that they are identical.
                     78: .It Fl x
                     79: Output all informational messages to the standard error.
                     80: This option is useful when
                     81: .Ar dest
                     82: is
                     83: .Pa /dev/stdout .
                     84: .El
                     85: .Sh SEE ALSO
                     86: .Xr mtio 4
                     87: .Sh HISTORY
                     88: The
                     89: .Nm
                     90: command appeared in
                     91: .Bx 4.3 .