Commit Graph

29 Commits

Author SHA1 Message Date
mjacob 50e7b22cd9 add eew as MTEWARN command 1998-07-30 00:56:11 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft 0e2f9ea923 __AUDIT__ cleanup. 1998-07-27 17:06:48 +00:00
mjacob 5433a0b6ca More for kern/1275- and fix a bug in here that's been there forever. 1998-07-04 02:14:22 +00:00
thorpej 890b485672 <rmt.h> does funky function remapping stuff. Include it after we've
pulled in the other headers.
1997-10-21 20:04:55 +00:00
veego a1b6da927d Remove a unused variable. 1997-10-05 13:07:24 +00:00
hannken 60d6809be4 Code cleanup. All commands are run from the table.
`compression' command added to man page.
Default tape in man page adjusted. Closes PR #4212.
1997-10-04 12:32:31 +00:00
mjacob 92aec668da Add support for enabling/disabling compression, as well as reporting and
seeking to logical and hardware block locations.
1997-09-29 19:35:31 +00:00
christos 2e55bdaf6f Fix compiler warnings.
Add WARNS=1
1997-07-20 18:59:27 +00:00
hannken 0b34aaa0a4 Allow a count of zero for the following commands:
blocksize density eom erase offline rewind rewoffl status retension
This makes it possible to set the default density or to set variable
blocksize. See PR #3256.
1997-07-01 20:15:51 +00:00
lukem 31bf4d0efd use _PATH_DEFTAPE from <paths.h> instead of DEFTAPE from <sys/mtio.h> 1997-04-15 06:53:51 +00:00
tls 3811362c9a kill use of register 1997-01-09 16:31:05 +00:00
jtc 813b4a4fbb converted to use -lrmt 1996-08-09 04:28:40 +00:00
jtc 33849ebec9 Add the asf command for absolute tape positioning.
Some cleanup of the remote tape interface, but a lot more is needed.
Ideally, we'd have a "rmt" library which provides a remote tape API
including open, read, write, close, and ioctl.  This is useful not
only for mt, but also for programs like tar, cpio, pax, backup and
restore.
1996-08-08 09:16:06 +00:00
mrg 2aa93b359f "SCSI tape" -> "SCSI", from is 1996-05-26 04:00:49 +00:00
mrg 5bdb157a47 add blocksize/density commands. other part of #921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>) 1996-05-21 10:23:54 +00:00
mrg d63f735104 add type 7 (scsi tape). part of pr#921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>) 1996-05-21 10:09:10 +00:00
scottr c23158c00e - Open device with O_WRONLY only if the command actually writes to the
device, otherwise O_RDONLY.  Thanks to Hitoshi Osada for noticing this.
  Closes PRs 2202 and 2249.
- Style police.
1996-03-28 07:10:05 +00:00
scottr 3a2ca195af Picked up a little lint in the dryer. 1996-03-06 06:34:20 +00:00
scottr 64e4898415 Since we're setuid, let's be paranoid. 1996-03-06 06:22:04 +00:00
scottr 41c2cff5ab Add remote tape capabilities. 1996-03-05 20:39:32 +00:00
tls 546f6b1705 Sync with 4.4BSD-Lite2 1995-09-28 07:18:20 +00:00
pk 6c1353c677 Sync exit codes with man page (from Scott Burns). 1995-08-27 18:31:20 +00:00
ragge 2c26a4db6f Removed some (unworking) #ifdef vax. 1995-06-01 16:25:04 +00:00
cgd df247e9b94 merge with lite 1995-03-21 06:57:43 +00:00
mycroft b527513158 Add `retension', `erase', `eom', and `nbsf' subcommands. 1994-04-05 21:13:55 +00:00
jtc 468f4334b4 misc cleanup:
use getopt to parse command line arguments.
  use err(), errx(), etc. for error messages.
  include appropriate header files for function prototypes.
  return 0 on successfull exit instead of dropping off the end of main().
1994-03-30 01:50:43 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
cgd 23a6037ac3 added mt from net-2 sources, with added rcs header.
note that it's in /bin rather than /usr/bin.  wouldn't want to be
screwed trying to restore a backup...
1993-03-25 08:01:33 +00:00