Commit Graph

44 Commits

Author SHA1 Message Date
mjacob
ce8c59badb Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
mjacob
f2130a7ecd Oops, I'm such an idiot. For reasons I don't really agree with,
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.

So, the default tape name is now the same as Linux. Far out, man....
2000-12-31 20:29:56 +00:00
mjacob
0124b5a18f The default is /dev/nrsa0 (now), not /dev/nsa0. 2000-12-31 08:17:58 +00:00
ru
655e7db87e Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
kris
3eba35d68e Constify 2000-11-27 06:40:35 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
imp
6fdfa48c13 Add cross reference to the ast device.
Remove reference to the now defunct wt device.
2000-08-16 16:38:47 +00:00
obrien
3d8c847144 Default device not longer uses the "r" raw prefix. 2000-04-26 11:34:52 +00:00
charnier
65671010c6 Add missing dots 2000-03-26 14:45:38 +00:00
sheldonh
c0e8952a50 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
d39e57413d Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
7e91e73b9f Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
mjacob
864eeb4148 add and document seteotmodel and geteotmodel commands 1999-05-10 20:05:19 +00:00
ghelmer
2f7254a432 Add missing parenthesis. Change "hardware block" to "SCSI logical block".
While I'm here, fix dangling "to".

PR:		docs/9940
1999-05-04 18:22:38 +00:00
mjacob
5899cf012e Fixes alignment of blocksize field to be prettier if
longest density code && density name is used.
Obtained from: Ken Merry
1999-03-10 18:42:20 +00:00
mjacob
134866530d get rid of space padding for compression 1999-03-10 00:48:03 +00:00
mjacob
f67e602db3 Print actual density code as well as string for density- I dunno about others,
but I sure remember 0x15 easier than 'ECMA 17'. Also handle density codes
0 (default) and 0x7f ('same') as special cases.
1999-03-02 06:27:59 +00:00
mjacob
c7b99ff629 Print relative (mt_fileno, mt_blkno) position, if known.
Print driver state if not NIL.
1999-02-05 02:46:21 +00:00
mjacob
5d33ad6be3 finally document new commands 1999-02-05 02:45:08 +00:00
mjacob
beb823974f 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
dbeb6825cd add in new errstat subcommand (MTIOCSERRSTAT) 1998-12-19 20:23:37 +00:00
mjacob
874d88d8ec 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
a9dbb1d674 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
43d4ef77d3 Don't bother trying to support Wangtek tapes on the alpha. 1998-10-03 10:58:54 +00:00
gibbs
7081b6b22a Augment compression and blocksize support. Update table of known densities. 1998-09-15 10:28:20 +00:00
phk
a9dfe0119a 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
b215fc2e1e Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
jmg
1f0300c979 another -I/sys conversion, and add Id line now it's left the vendor branch 1997-08-22 14:21:51 +00:00
joerg
2355e761ad 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
a3dffadfe4 Use err(3) instead of local redefinition. 1997-07-29 06:49:16 +00:00
imp
cd84ece5fd 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
cf1e7e3f26 Merge from Lite2 1997-03-11 13:43:33 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
joerg
256ff62c19 . 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
9a2ecb3da7 Forgot to update the man page for the `retension' command. 1996-01-13 09:46:26 +00:00
joerg
5f588484d9 Rename the retens' command into retension', to follow existing de-facto
standards.
1996-01-12 15:36:28 +00:00
joerg
b2e42b04bf Add `retens', the user frontend for MTRETENS. 1996-01-08 12:29:26 +00:00
bde
29aea7f91f 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
c7a9133c71 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
33cdac7b27 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
2a237e34cf 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
dff094b274 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