Commit Graph

23 Commits

Author SHA1 Message Date
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 291f29d7f4 Forgot this bit, somehow. 1996-03-06 04:52:37 +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
jtc a13d94f0b7 Change default magtape from /dev/rmt12 to /dev/rst0; PR #1399 1995-08-22 19:36:00 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +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
andrew 61043b5d11 Added mention of the retension, erase and eom options. 1994-10-16 11:46:49 +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
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +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