Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mt(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dd(1)

ioctl(2)

tc(4)

environ(7)



MT(1)                   COMMAND REFERENCE                   MT(1)



NAME
     mt - magnetic tape manipulating program for 6100 Series
     workstations

SYNOPSIS
     mt [ -f tapename ] command [ count ]

DESCRIPTION
     Mt is used to give commands to a magnetic tape drive.  If a
     tape name is not specified, the environment variable TAPE is
     used; if TAPE does not exist, mt uses the device /dev/ntc.
     Note that tapename must refer to a raw (not block) tape
     device and should usually refer to a no-rewind device.

     By default mt performs the requested operation once.
     Operations may be performed multiple times by specifying
     count.

     The available commands are listed below.  Only as many
     characters as are required to uniquely identify a command
     need be specified.

     eof, weof
          Write count end-of-file marks at the current position
          on the tape.

     fsf  Forward space count files.

     bsf  Back space count files.

     fsr  Forward space count records.

     bsr  Back space count records.

     rewind
          Rewind the tape (Count is ignored.)

     offline, rewoffl
          Rewind the tape and place the tape unit off-line (Count
          is ignored.)

     status
          Print status information about the tape unit.

     fss  Forward space until count sequential file marks are
          found.

     bss  Back space until count sequential file marks are found.

     erase
          Erase from the current position to the end of the tape.
          Some drivers will only allow this command at BOT.



Printed 10/17/86                                                1





MT(1)                   COMMAND REFERENCE                   MT(1)



          (Count is ignored.)

     end  Forward space to the end of recorded data.  (Count is
          ignored.)

     tension,  retension
          Retension cartridge tapes, leaving the tape at BOT.
          (Count is ignored.)

FILES
     /dev/ntc*                cartridge tape interface

DIAGNOSTICS
     command command not valid
                    Command wasn't one of the commands listed
                    above or wasn't a unique abbreviation.

     count must be positive
                    Count cannot be a negative number.

     can't open tapename
                    Mt couldn't open the named tape.  The device
                    doesn't exist, the tape wasn't mounted, or
                    the tape was write protected against a weof
                    or erase command.

     Other messages describe tape errors.

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

SEE ALSO
     dd(1), ioctl(2), tc(4), environ(7).















Printed 10/17/86                                                2





































































%%index%%
na:72,109;
sy:181,164;
de:345,1989;2478,384;
fi:2862,106;
di:2968,734;
rv:3702,400;
se:4102,144;
%%index%%000000000130

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