Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mt(1) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dd(1)

ioctl(2)

environ(5)



mt(1)                            DG/UX 5.4.2                           mt(1)


NAME
       mt - magnetic tape control

SYNOPSIS
       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 prints an error message.  Note that tapename must refer to
       a raw (not block) tape device.  For tape-positioning operations, the
       tape device should be a non-rewinding device; otherwise, the tape
       rewinds at the end of the operation regardless of any position
       request.  For example, specify /dev/rmt/0n instead of /dev/rmt/0.

       By default, mt performs the requested operation once;  count
       specifies multiple operations.

       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 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.

       rewind       Rewind the tape. The count argument is ignored with this
                    command.


       status       Print status information about the tape unit. The count
                    argument is ignored with this command.

       retension    Retension the tape.  The count argument is ignored with
                    this command.

       eom          Position to the end of the medium.  The count argument
                    is ignored with this command.

       load         Load the tape.  The count argument is ignored with this
                    command.

       unload       Unload, or eject, the tape.  The count argument is
                    ignored with this command.

       The exit status values are:





Licensed material--property of copyright holder(s)                         1




mt(1)                            DG/UX 5.4.2                           mt(1)


       0      The operation succeeded.

       1      mt does not recognize command, or cannot open the specified
              tape drive.

       2      The operation failed.

FILES
       /dev/rmt/*          raw magnetic tape interface

SEE ALSO
       dd(1), ioctl(2), environ(5).













































Licensed material--property of copyright holder(s)                         2


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