Commit Graph

68 Commits

Author SHA1 Message Date
christos 4bd79d53a1 Oops, the previous change was not entirely correct since we were checking
the wrong byte.
2006-03-22 01:45:08 +00:00
christos 80f67fa272 Coverity CID 879: Don't increment bits before checking it for NULL. 2006-03-21 23:50:09 +00:00
hira dfa6df8e5a - Whitespace nit.
- Wrap long line.
2005-06-17 14:27:18 +00:00
christos cff5b51c44 Allow short command names as long as they are not ambiguous. 2005-02-03 15:15:48 +00:00
christos 796d7ce2f3 Use the length of the command for comparison not the length
of the command line argument. Allows "compression" to be used
for "compress" etc.
2005-02-03 00:03:02 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
wiz 33bb527e01 Drop trailing whitespace. 2002-08-13 13:22:35 +00:00
sommerfeld 8f4d948b68 Improve some of the description of optional drive features. 2002-08-13 13:16:24 +00:00
wiz 3ebcdc5e43 Whitespace nits. 2001-12-20 19:31:48 +00:00
wiz 12fd1274d8 ANSIfy, KNF, use [gs]etprogname. Patch by Petri Koistinen. 2001-09-16 21:57:34 +00:00
mason 885787d267 Equally trivial formatting tweak. Leaving the thing alone after this. :) 2001-02-13 19:39:34 +00:00
mason 3b04543d8b trivial formatting tweak 2001-02-13 19:37:13 +00:00
christos 5b0331e6c7 from Mason Loring Bliss: support "asf 0" 2001-02-13 16:07:59 +00:00
mason c066b768e7 Clarify meaning of "mt asf". The man page extant says "Absolute space
to file count", which is incorrect. File numbering, according to
restore(8), starts at one, and thus "mt asf 1" neither moves to the
first file on the tape nor to file number one on the tape.
2001-02-03 16:26:45 +00:00
kleink 2caf6aacdd For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf 1cb54f68ac Add 'RETURN VALUE' section header. 2000-08-28 02:11:04 +00:00
mjacob f62ad5baf7 Fix a buglet in the man page: eom spaces to the end of recorded media-
not the 'end of the media'.
2000-02-02 06:56:46 +00:00
soren b535241c18 Add list of common density codes.
The remote function was implemented in 1996.
1999-09-30 12:08:12 +00:00
simonb 7c249bc088 Print the current file and block numbers now that at least one tape
driver returns usable values for these.
1999-09-07 13:56:53 +00:00
tron e9ac36eda7 Add "setblk" as alias for "blocksize" and "setdensity" as alias for
"density". This makes life easier for people which use NetBSD and Linux.
1999-07-21 17:10:08 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
christos fb7b7a2457 Don't assume that defined(sun) means SunOS... Protect with __SVR4 against
Solaris.
1999-03-02 21:02:08 +00:00
fair 2f886b8bd6 mtio.4 no longer missing 1999-01-14 08:35:46 +00:00
mjacob 253fbf0175 rev man page for eew 1998-07-30 00:58:27 +00:00
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
msaitoh 9893c253ce Add missing ".El" 1998-07-27 18:07:41 +00:00
mycroft 0e2f9ea923 __AUDIT__ cleanup. 1998-07-27 17:06:48 +00:00
mjacob 795a3913c8 adjust document to reality 1998-07-04 02:31:36 +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
fair 8b671e53f4 PR#5696 + nroff fixes and text clarity 1998-07-03 11:08:08 +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
enami c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +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
mikel 19e71bb846 update location of scsi_tape.h and fix set[hl]pos descriptions, from
Dave Huang in PR bin/4202.  some more misc. cleanup of my own.
1997-10-03 06:03:06 +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 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +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