Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mt(1) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dd(1M)

ar(4)

environ(5)

mt(7)



mt(1-BSD)         MISC. REFERENCE MANUAL PAGES          mt(1-BSD)



NAME
     mt - magnetic tape control

SYNOPSIS
     /usr/ucb/mt [ -f tapename ] command [ count ]

DESCRIPTION
     mt sends commands to a magnetic tape drive.  If tapename  is
     not  specified,  the  environment variable TAPE is used.  If
     TAPE does not exist, mt  uses  the  device  /dev/rmt/qtape0.
     tapename  must  refer  to a raw (not block) tape device.  By
     default, mt performs the requested operation once;  multiple
     operations may be performed by specifying count.  The avail-
     able commands are listed below.  Only as many characters  as
     are  required  to uniquely identify a command need be speci-
     fied.  mt returns a 0 exit status when the operation(s) were
     successful,  1  if the command was unrecognized or if mt was
     unable to open the specified tape drive, and 2 if an  opera-
     tion failed.  the following commands are available to mt:

     eof, weof    Write count EOF marks at the  current  position
                  on the tape.

     fsf          Forward space count files.

     fsr          Forward space count records.

     bsf          Back space count files.

     bsr          Back space count records.

     asf          Absolute space to count file number.   This  is
                  equivalent to a rewind followed by a fsf count.
                  For the following commands, count is ignored:

     eom          Space to the end of recorded media on the  tape
                  (SCSI  only).   This  is  useful  for appending
                  files onto previously written tapes.

     rewind       Rewind the tape.

     offline, rewoffl
                  Rewind, unload, and place the tape  drive  unit
                  off-line.

     status       Print status information about the tape unit.

     retension    Wind the tape to the end of the reel  and  then
                  rewind it, smoothing out the tape tension.

     erase        Erase the entire tape.




                                                                1





mt(1-BSD)         MISC. REFERENCE MANUAL PAGES          mt(1-BSD)



FILES
     /dev/rmt/qtape*     raw SCSI tape interface

SEE ALSO
     dd(1M),   ar(4),   environ(5),   mt(7)   in    the    System
     Administrator's Reference Manual.

NOTES
     Not all  devices  support  all  options.   For  example,  ar
     currently  does  not  support  the fsr, bsf, or bsr options.
     The half-inch tape driver, /dev/rmt/*, does not support  the
     retension option.











































                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026