Commit Graph

73 Commits

Author SHA1 Message Date
dim
a709fcdc55 In usr.bin/mt/mt.c, the c_code member of struct commands should really
be an unsigned long, since it will contain values of ioctl request
codes.  On 64-bit arches, these will not fit into an int.

MFC after:	1 week
2011-12-17 02:23:30 +00:00
ed
4b5bea4fc7 Add missing static keywords to mt(1) 2011-11-06 08:16:18 +00:00
joel
29af67e52c Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
trhodes
fceb0bfa37 Note what options are only for DDS drives.
PR:	35608
2008-01-21 22:08:05 +00:00
ru
4de1ee30af -mdoc sweep. 2005-11-18 10:36:29 +00:00
dwmalone
77e3a1f150 Const poision, deregister and use ANSI definitions. 2005-11-13 20:50:17 +00:00
garys
c2b51d2f4c A minor overhaul: added comments, split cmds in 2, changed synopsis.
Split commands into two groups: one with optional count and one with
required argument.  Changed synopsis line accordingly.

Added some hopefully-helpful comments based on experiments, knowing
that not all hardware works the same.

PR:             docs/84101
Approved by:    keramida
MFC after:      3 days
2005-09-30 17:31:39 +00:00
imp
ce6b3c821b Don't refer to devices that don't exist. 2005-04-03 05:19:45 +00:00
ru
6b6b8c04f6 Expand contractions. 2005-02-13 23:45:54 +00:00
ru
ee5b7e52fa Deal with double whitespace. 2004-07-03 00:24:45 +00:00
ru
fb1d8b3724 Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
mux
a9d45c1b82 Backout previous commit. It seems this comment applied to something
else than I thought, and thus really needs to go away.

Noticed by:	ru
2004-04-09 17:30:26 +00:00
mux
cf4a17e308 Reintroduce a comment that was wrongly removed in revision 1.34. 2004-04-09 14:19:12 +00:00
ru
be0b9fa1ef Catch up with the removal of the wt(4) driver. 2004-03-14 12:09:43 +00:00
roam
3a2d1f6823 Change /dev/rsa0 and /dev/rwt0 references to sa0 and wt0.
PR:		55925
Submitted by:	Michael L. Squires <mikes@siralan.org>
MFC after:	1 month
2003-09-05 15:28:09 +00:00
ru
080c619b2e Markup bits.
Approved by:	re (blanket)
2003-05-21 21:07:28 +00:00
schweikh
eb8fd40b31 Fix references to non-existing or obsoleted man pages.
PR:	docs/51480 (only a small part)
Submitted by:	Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
joerg
00d15800f1 Add information about the SDLT density codes.
Submitted by:	"Stewart MacLund" <sundie@lunaticfringe.org>
MFC after:	1 week
2002-10-15 12:53:29 +00:00
joerg
d82238c914 Add definitions for the industry-standard DLT density codes.
Obtained from:	Quantum DLT8000 manual
MFC after:	1 week
2002-07-09 11:26:09 +00:00
ru
aa9fde6b91 mdoc(7) police: removed unnecessary .Ns. 2002-05-30 05:52:19 +00:00
charnier
ad8a79e6a5 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
charnier
2ae20464b1 Make `make WARNS=3' succeed, notably, use %d to printf daddr_t value.
Use `.Nm Ns .' instead of `.Nm .' Add FBSDID. Do not put spaces inside []
in usage string.
2002-04-12 13:16:04 +00:00
imp
1698cb216e remove __P 2002-03-22 01:33:25 +00:00
phk
064c0537d1 Unifdef __FreeBSD__
MD5 checksum of binary unchanged.
2002-03-20 07:44:09 +00:00
ru
24c7b0a61d mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
dd
911ca14c87 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
36f138439b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
ru
05e503d80a mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
ru
52a9144c8b Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
mjacob
b03388fdd1 Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
mjacob
455cbaec15 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
7278f73086 The default is /dev/nrsa0 (now), not /dev/nsa0. 2000-12-31 08:17:58 +00:00
ru
e6cfc0711d Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
kris
94eacffcfa Constify 2000-11-27 06:40:35 +00:00
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
imp
1ecc6e9500 Add cross reference to the ast device.
Remove reference to the now defunct wt device.
2000-08-16 16:38:47 +00:00
obrien
bd16c8f77a Default device not longer uses the "r" raw prefix. 2000-04-26 11:34:52 +00:00
charnier
f0804c6aec Add missing dots 2000-03-26 14:45:38 +00:00
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
49c4458c80 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
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb 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
04f69f7c49 add and document seteotmodel and geteotmodel commands 1999-05-10 20:05:19 +00:00
ghelmer
b0fd1929e0 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
8a1ee1642e 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
541ee5a18f get rid of space padding for compression 1999-03-10 00:48:03 +00:00
mjacob
eb53d4fbfc 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
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