Commit Graph

26 Commits

Author SHA1 Message Date
mjacob
c82debf4c1 Print relative (mt_fileno, mt_blkno) position, if known.
Print driver state if not NIL.
1999-02-05 02:46:21 +00:00
mjacob
0561fcb7e1 finally document new commands 1999-02-05 02:45:08 +00:00
mjacob
247c297d5a Print out latched cdb's correlated to latched errors in MTIOCERRSTAT case.
Complete the addition of the setmark support
(from Martin.Birgmeier@aon.at).
1998-12-22 17:28:25 +00:00
mjacob
d9c216a344 add in new errstat subcommand (MTIOCSERRSTAT) 1998-12-19 20:23:37 +00:00
mjacob
e432d65bec Made changes suggested by bruce, plus a couple of others which made -Wall work.
Obtained from:bde@freebsd.org
1998-12-18 18:16:35 +00:00
mjacob
9007253495 1) Clarify that a weof count of zero is allowed (flush buffers).
2) Add in the set of {sethpos,setspos,rdhpos,rdspos) commands to implement the
Hardware && SCSI Logical Block position ioctls.
1998-12-18 02:02:20 +00:00
dfr
94e3fb4cb4 Don't bother trying to support Wangtek tapes on the alpha. 1998-10-03 10:58:54 +00:00
gibbs
065f2c56f2 Augment compression and blocksize support. Update table of known densities. 1998-09-15 10:28:20 +00:00
phk
100f9b99a0 mt should report the compression status.
PR:		5276
Reviewed by:	phk
Submitted by:	Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
wosch
8ee659dd96 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
jmg
05f0e169e1 another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
joerg
9f76c14f85 Implement "eod" as an alias for "eom". HP-UX uses this name, for
example.

Also cleaned up the man page a little.
1997-08-21 05:49:29 +00:00
charnier
ffd60e72c2 Use err(3) instead of local redefinition. 1997-07-29 06:49:16 +00:00
imp
141381e1cb 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
peter
deba7db48c Merge from Lite2 1997-03-11 13:43:33 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
joerg
c5181fe0d9 . cast the error and status registers properly to (unsigned short),
to avoid misinterpreting the 0x8000 bit as a negative sign,

. use the <machine/wtio.h> register def's to print them.
1996-02-22 00:33:35 +00:00
joerg
dace338d09 Forgot to update the man page for the `retension' command. 1996-01-13 09:46:26 +00:00
joerg
f431f4ad25 Rename the retens' command into retension', to follow existing de-facto
standards.
1996-01-12 15:36:28 +00:00
joerg
63a6a9070f Add `retens', the user frontend for MTRETENS. 1996-01-08 12:29:26 +00:00
bde
c529f03691 Return early in printreg() when the pointer is NULL. For FreeBSD, the
strings describing the drive status and error bits are so deficient
that the pointer is always NULL.

Reported by:	Philippe Charnier <charnier@lirmm.fr>
1995-10-21 08:51:01 +00:00
joerg
237dca12de Remove the dangerous "eof" command that used to be an alias for "weof"
but usually got confused with "eom".  It didn't ring the warning bell
saying: "You are probably going to mark your whole tape as deleted
right now."

A warning message pointing to "weof" and "eom" is issued instead.
1995-07-16 10:16:26 +00:00
joerg
a35b9f7d67 Make mt(1) orthogonal: now that we print the densities as strings
instead of hex, make it accept density names for input, too.
1995-04-18 22:27:43 +00:00
joerg
e35369434b Round #1 of my st(1) -> mt(1) merge. All the commands should be
covered now, and i've attempted to give textual representations
instead of magic numbers.

The st(4) driver still misses some pieces; i'm going to implement the
EOM functionality RSN.

Any takers for the MTCOMP command?  Seems to have never been implemented.
1995-04-17 21:55:11 +00:00
jkh
3e33d35fb6 Andreas Klemm's tape erase patches from 1.1.5.1.
Submitted by:	andreas
1994-10-28 13:21:57 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00