Commit Graph

73 Commits

Author SHA1 Message Date
Dimitry Andric
f3fbaba136 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 Schouten
0e5d3f8e6c Add missing static keywords to mt(1) 2011-11-06 08:16:18 +00:00
Joel Dahl
da52b4caaf 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
Tom Rhodes
e322ed0f05 Note what options are only for DDS drives.
PR:	35608
2008-01-21 22:08:05 +00:00
Ruslan Ermilov
4e9e907d63 -mdoc sweep. 2005-11-18 10:36:29 +00:00
David Malone
93aa4a7665 Const poision, deregister and use ANSI definitions. 2005-11-13 20:50:17 +00:00
Gary W. Swearingen
f0ab9f7b39 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
Warner Losh
550b53a99a Don't refer to devices that don't exist. 2005-04-03 05:19:45 +00:00
Ruslan Ermilov
36a142c455 Expand contractions. 2005-02-13 23:45:54 +00:00
Ruslan Ermilov
557b7fa148 Deal with double whitespace. 2004-07-03 00:24:45 +00:00
Ruslan Ermilov
6a3e8b0adc Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
Maxime Henrion
1aefe0e32e 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
Maxime Henrion
92375a1cb9 Reintroduce a comment that was wrongly removed in revision 1.34. 2004-04-09 14:19:12 +00:00
Ruslan Ermilov
1a490c95d2 Catch up with the removal of the wt(4) driver. 2004-03-14 12:09:43 +00:00
Peter Pentchev
095a0a15af 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
Ruslan Ermilov
fa7f4291ff Markup bits.
Approved by:	re (blanket)
2003-05-21 21:07:28 +00:00
Jens Schweikhardt
fbc8f8a2dc 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 Wunsch
75e861d635 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 Wunsch
bd275d1aed 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
Ruslan Ermilov
12b32eafa8 mdoc(7) police: removed unnecessary .Ns. 2002-05-30 05:52:19 +00:00
Philippe Charnier
e8937ba009 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Philippe Charnier
7151087354 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
Warner Losh
d3cb5ded92 remove __P 2002-03-22 01:33:25 +00:00
Poul-Henning Kamp
d485631b6c Unifdef __FreeBSD__
MD5 checksum of binary unchanged.
2002-03-20 07:44:09 +00:00
Ruslan Ermilov
753d686d34 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Ruslan Ermilov
5521ff5a4d mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). 2001-07-06 16:46:48 +00:00
Ruslan Ermilov
3ab9a9d0e0 Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
Matt Jacob
c310386321 Print out resid portion of MTIOCGET returned data. 2001-01-21 01:33:31 +00:00
Matt Jacob
23dc42d12f 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
Matt Jacob
95cb096e65 The default is /dev/nrsa0 (now), not /dev/nsa0. 2000-12-31 08:17:58 +00:00
Ruslan Ermilov
9b88faecd3 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
Kris Kennaway
40c068176d Constify 2000-11-27 06:40:35 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Warner Losh
3da0bb2e27 Add cross reference to the ast device.
Remove reference to the now defunct wt device.
2000-08-16 16:38:47 +00:00
David E. O'Brien
8e7237d599 Default device not longer uses the "r" raw prefix. 2000-04-26 11:34:52 +00:00
Philippe Charnier
e91b5c5294 Add missing dots 2000-03-26 14:45:38 +00:00
Sheldon Hearn
4e86fcacf6 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
Sheldon Hearn
87faa07bec 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 Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce 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
Matt Jacob
dc06ef2775 add and document seteotmodel and geteotmodel commands 1999-05-10 20:05:19 +00:00
Guy Helmer
768229abb0 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
Matt Jacob
e945d9a010 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
Matt Jacob
3460adb2ef get rid of space padding for compression 1999-03-10 00:48:03 +00:00
Matt Jacob
c4e8e42c98 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
Matt Jacob
4338f206fa Print relative (mt_fileno, mt_blkno) position, if known.
Print driver state if not NIL.
1999-02-05 02:46:21 +00:00
Matt Jacob
49f8654780 finally document new commands 1999-02-05 02:45:08 +00:00
Matt Jacob
2331285d76 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