Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/mt.1
          +++ new/usr/src/man/man1/mt.1
↓ open down ↓ 5 lines elided ↑ open up ↑
   6    6  .TH MT 1 "Jun 21, 2007"
   7    7  .SH NAME
   8    8  mt \- magnetic tape control
   9    9  .SH SYNOPSIS
  10   10  .LP
  11   11  .nf
  12   12  \fBmt\fR [\fB-f\fR \fItapename\fR] \fIcommand\fR... [\fIcount\fR]
  13   13  .fi
  14   14  
  15   15  .SH DESCRIPTION
  16      -.sp
  17   16  .LP
  18   17  The \fBmt\fR utility sends commands to a magnetic tape drive. If \fB-f\fR
  19   18  \fItapename\fR is not specified, the environment variable \fBTAPE\fR is used.
  20   19  If \fBTAPE\fR does not exist, \fBmt\fR uses the device \fB/dev/rmt/0n\fR.
  21   20  .SH OPTIONS
  22      -.sp
  23   21  .LP
  24   22  The following options are supported:
  25   23  .sp
  26   24  .ne 2
  27   25  .na
  28   26  \fB\fB-f\fR \fItapename\fR\fR
  29   27  .ad
  30   28  .RS 15n
  31   29  Specifies the raw tape device.
  32   30  .RE
  33   31  
  34   32  .SH OPERANDS
  35      -.sp
  36   33  .LP
  37   34  The following operands are supported:
  38   35  .sp
  39   36  .ne 2
  40   37  .na
  41   38  \fB\fIcount\fR\fR
  42   39  .ad
  43   40  .RS 11n
  44   41  The number of times that the requested operation is to be performed. By
  45   42  default, \fBmt\fR performs \fIcommand\fR once. Multiple operations of
↓ open down ↓ 120 lines elided ↑ open up ↑
 166  163  Prevents media removal.
 167  164  .RE
 168  165  
 169  166  .sp
 170  167  .ne 2
 171  168  .na
 172  169  \fB\fBnbsf\fR\fR
 173  170  .ad
 174  171  .RS 10n
 175  172  Back spaces \fIcount\fR files. The tape is positioned on the first block of the
 176      -file. This is equivalent to \fIcount+1\fR \fBbsf\fRs ollowed by one \fBfsf\fR.
      173 +file. This is equivalent to \fIcount+1\fR \fBbsf\fRs followed by one \fBfsf\fR.
 177  174  .RE
 178  175  
 179  176  .sp
 180  177  .ne 2
 181  178  .na
 182  179  \fB\fBseek\fR\fR
 183  180  .ad
 184  181  .RS 10n
 185  182  Positions to requested logical tape position.
 186  183  .RE
↓ open down ↓ 127 lines elided ↑ open up ↑
 314  311  .sp
 315  312  Status information can include the sense key reported by the drive, the
 316  313  residual and retries for the last operation, the current tape position reported
 317  314  in file number, and the number of blocks from the beginning of that file. It
 318  315  might also report that WORM media is loaded in that drive.
 319  316  .RE
 320  317  
 321  318  .RE
 322  319  
 323  320  .SH EXIT STATUS
 324      -.sp
 325  321  .ne 2
 326  322  .na
 327  323  \fB\fB0\fR\fR
 328  324  .ad
 329  325  .RS 5n
 330  326  All operations were successful.
 331  327  .RE
 332  328  
 333  329  .sp
 334  330  .ne 2
↓ open down ↓ 8 lines elided ↑ open up ↑
 343  339  .sp
 344  340  .ne 2
 345  341  .na
 346  342  \fB\fB2\fR\fR
 347  343  .ad
 348  344  .RS 5n
 349  345  An operation failed.
 350  346  .RE
 351  347  
 352  348  .SH FILES
 353      -.sp
 354  349  .ne 2
 355  350  .na
 356  351  \fB\fB/dev/rmt/*\fR\fR
 357  352  .ad
 358  353  .RS 14n
 359  354  magnetic tape interface
 360  355  .RE
 361  356  
 362  357  .SH SEE ALSO
 363      -.sp
 364  358  .LP
 365  359  \fBtar\fR(1), \fBtcopy\fR(1), \fBar.h\fR(3HEAD), \fBattributes\fR(5),
 366  360  \fBmtio\fR(7I), \fBst\fR(7D)
 367  361  .SH BUGS
 368      -.sp
 369  362  .LP
 370  363  Not all devices support all options. Some options are hardware-dependent. Refer
 371  364  to the corresponding device manual page.
 372  365  .sp
 373  366  .LP
 374  367  \fBmt\fR is architecture sensitive. Heterogeneous operation (that is, SPARC to
 375  368  x86 or the reverse) is not supported.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX