Home | History | Annotate | Download | only in mt
History log of /src/bin/mt/mt.c
RevisionDateAuthorComments
 1.49  24-Jan-2022  andvar s/begining/beginning/ in comments and messages.
 1.48  01-Sep-2018  mlelstv Make tape cache ioctls available to userland command.
 1.47  29-Aug-2011  joerg branches: 1.47.42; 1.47.44;
static + __dead
 1.46  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.45  27-Jun-2008  dogcow %d doesn't work so well with the now-u_long type. (HI GMCGARRY!)
 1.44  27-Jun-2008  gmcgarry ioctl commands are unsigned long.
 1.43  16-Oct-2006  christos branches: 1.43.18;
use c99 initializers
 1.42  22-Mar-2006  christos Oops, the previous change was not entirely correct since we were checking
the wrong byte.
 1.41  21-Mar-2006  christos Coverity CID 879: Don't increment bits before checking it for NULL.
 1.40  17-Jun-2005  hira - Whitespace nit.
- Wrap long line.
 1.39  03-Feb-2005  christos Allow short command names as long as they are not ambiguous.
 1.38  03-Feb-2005  christos Use the length of the command for comparison not the length
of the command line argument. Allows "compression" to be used
for "compress" etc.
 1.37  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.36  16-Sep-2001  wiz ANSIfy, KNF, use [gs]etprogname. Patch by Petri Koistinen.
 1.35  13-Feb-2001  mason Equally trivial formatting tweak. Leaving the thing alone after this. :)
 1.34  13-Feb-2001  mason trivial formatting tweak
 1.33  13-Feb-2001  christos from Mason Loring Bliss: support "asf 0"
 1.32  07-Sep-1999  simonb Print the current file and block numbers now that at least one tape
driver returns usable values for these.
 1.31  21-Jul-1999  tron Add "setblk" as alias for "blocksize" and "setdensity" as alias for
"density". This makes life easier for people which use NetBSD and Linux.
 1.30  02-Mar-1999  christos Don't assume that defined(sun) means SunOS... Protect with __SVR4 against
Solaris.
 1.29  30-Jul-1998  mjacob add eew as MTEWARN command
 1.28  28-Jul-1998  mycroft Delint.
 1.27  27-Jul-1998  mycroft __AUDIT__ cleanup.
 1.26  04-Jul-1998  mjacob More for kern/1275- and fix a bug in here that's been there forever.
 1.25  21-Oct-1997  thorpej <rmt.h> does funky function remapping stuff. Include it after we've
pulled in the other headers.
 1.24  05-Oct-1997  veego branches: 1.24.2;
Remove a unused variable.
 1.23  04-Oct-1997  hannken Code cleanup. All commands are run from the table.
`compression' command added to man page.
Default tape in man page adjusted. Closes PR #4212.
 1.22  29-Sep-1997  mjacob Add support for enabling/disabling compression, as well as reporting and
seeking to logical and hardware block locations.
 1.21  20-Jul-1997  christos Fix compiler warnings.
Add WARNS=1
 1.20  01-Jul-1997  hannken 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.
 1.19  15-Apr-1997  lukem use _PATH_DEFTAPE from <paths.h> instead of DEFTAPE from <sys/mtio.h>
 1.18  09-Jan-1997  tls kill use of register
 1.17  09-Aug-1996  jtc converted to use -lrmt
 1.16  08-Aug-1996  jtc 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.
 1.15  26-May-1996  mrg "SCSI tape" -> "SCSI", from is
 1.14  21-May-1996  mrg branches: 1.14.2;
add blocksize/density commands. other part of #921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>)
 1.13  21-May-1996  mrg add type 7 (scsi tape). part of pr#921 (Olaf Seibert <rhialto@polder.ubc.kun.nl>)
 1.12  28-Mar-1996  scottr - 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.
 1.11  06-Mar-1996  scottr Picked up a little lint in the dryer.
 1.10  06-Mar-1996  scottr Since we're setuid, let's be paranoid.
 1.9  05-Mar-1996  scottr Add remote tape capabilities.
 1.8  28-Sep-1995  tls Sync with 4.4BSD-Lite2
 1.7  27-Aug-1995  pk Sync exit codes with man page (from Scott Burns).
 1.6  01-Jun-1995  ragge Removed some (unworking) #ifdef vax.
 1.5  21-Mar-1995  cgd merge with lite
 1.4  05-Apr-1994  mycroft Add `retension', `erase', `eom', and `nbsf' subcommands.
 1.3  30-Mar-1994  jtc 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().
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  25-Mar-1993  cgd branches: 1.1.1;
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...
 1.1.1.2  28-Sep-1995  tls imported from 44lite2
 1.1.1.1  21-Mar-1995  cgd from Lite's src/usr.bin/mt
 1.14.2.1  27-May-1996  mrg grok scsi tapes
 1.24.2.1  21-Oct-1997  thorpej Pull up from trunk:

<rmt.h> does funky function remapping stuff. Include it after we've
pulled in the other headers.
 1.43.18.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.47.44.3  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.47.44.2  21-Apr-2020  martin Sync with HEAD
 1.47.44.1  10-Jun-2019  christos Sync with HEAD
 1.47.42.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

RSS XML Feed