Commit Graph

7 Commits

Author SHA1 Message Date
Poul-Henning Kamp
4b9c5aabdd Tcopy uses 32 bit unsigned to accumulate a count of bytes read/written.
That doesn't work well for tapes over 4G.

I use tcopy a lot to write images of a tape to tape as tape to tape
copying is terribly slow. Slower than it should be. Quickly found out
tcopy can not rewind a file when doing copy/verify.

PR:		11386
Submitted by:	David Kelly dkelly@hiwaay.net
Reviewed by:	phk
1999-04-30 13:13:32 +00:00
Joseph Koshy
7d64be00b2 Correct reference to '/dev/rst0' to the more correct "/dev/rsa0".
PR:		11347
Submitted by:	Christian Weisgerber
1999-04-28 05:08:13 +00:00
Kenneth D. Merry
93a6df25e8 Update tcopy for CAM. (/dev/rst0 -> /dev/rsa0)
PR:		i386/8688
Submitted by:	Bill Trost <trost@cloud.rain.com>
1998-11-16 00:05:46 +00:00
Philippe Charnier
54d183e244 Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Poul-Henning Kamp
1fccc1f2ff Make the counters unsigned longs so that tapes don't contain negative
number of bytes.
1995-12-31 09:00:24 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00