xref: /csrg-svn/usr.bin/tcopy/tcopy.1 (revision 66856)
162301Sbostic.\" Copyright (c) 1985, 1990, 1991, 1993
262301Sbostic.\"	The Regents of the University of California.  All rights reserved.
325593Sbloom.\"
448535Scael.\" %sccs.include.redist.man%
525593Sbloom.\"
6*66856Smckusick.\"     @(#)tcopy.1	8.2 (Berkeley) 04/17/94
734180Sbostic.\"
848535Scael.Dd
948535Scael.Dt TCOPY 1
1048535Scael.Os BSD 4.3
1148535Scael.Sh NAME
1248535Scael.Nm tcopy
1348535Scael.Nd copy and/or verify mag tapes
1448535Scael.Sh SYNOPSIS
1548535Scael.Nm tcopy
16*66856Smckusick.Op Fl cvx
1748535Scael.Op Fl s Ar maxblk
1848535Scael.Oo Ar src Op Ar dest
1948535Scael.Oc
2048535Scael.Sh DESCRIPTION
2148535Scael.Nm Tcopy
2248535Scaelis designed to copy magnetic tapes.  The only assumption made
2348535Scaelabout the tape is that there are two tape marks at the end.
2448535Scael.Nm Tcopy
2548535Scaelwith only a source tape
2648535Scael.Pf ( Ar rmt0
2748535Scaelby default) specified will print
2834180Sbosticinformation about the sizes of records and tape files.  If a destination
2934180Sbosticis specified a copy will be made of the source tape.  The blocking on the
3034180Sbosticdestination tape will be identical to that used on the source tape.  Copying
3134180Sbostica tape will yield the same output as if just printing the sizes.
3248535Scael.Pp
3348535ScaelOptions:
3448535Scael.Bl -tag -width s_maxblk
3548535Scael.It Fl c
3648535ScaelCopy
3748535Scael.Ar src
3848535Scaelto
3948535Scael.Ar dest
4048535Scaeland then verify that the two tapes are identical.
4148535Scael.It Fl s Ar maxblk
4248535ScaelSpecify a maximum block size,
4348535Scael.Ar maxblk .
4448535Scael.It Fl v
4548535ScaelGiven the two tapes,
4648535Scael.ar src
4748535Scaeland
4848535Scael.Ar dest
4948535Scaelverify that they are identical.
50*66856Smckusick.It Fl x
51*66856SmckusickOutput all informational messages to the standard error.
52*66856SmckusickThis option is useful when
53*66856Smckusick.Ar dest
54*66856Smckusickis
55*66856Smckusick.Pa /dev/stdout .
5648535Scael.El
5748535Scael.Sh SEE ALSO
5848535Scael.Xr mtio 4
5948535Scael.Sh HISTORY
6048535ScaelThe
6148535Scael.Nm
6248535Scaelcommand appeared in
6348535Scael.Bx 4.3 .
64