EnglishFrenchSpanish

OnWorks favicon

mt-gnu - Online in the Cloud

Run mt-gnu in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mt-gnu that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mt - control magnetic tape drive operation

SYNOPSIS


mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count]

DESCRIPTION


This manual page documents the GNU version of mt. mt performs the given operation, which
must be one of the tape operations listed below, on a tape drive.

The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when
mt is compiled. It can be overridden by giving a device file name in the environment
variable TAPE or by a command line option (see below), which also overrides the
environment variable.

The device must be either a character special file or a remote tape drive. To use a tape
drive on another machine as the archive, use a filename that starts with `HOSTNAME:'. The
hostname can be preceded by a username and an `@' to access the remote tape drive as that
user, if you have permission to do so (typically an entry in that user's `~/.rhosts'
file).

The available operations are listed below. Unique abbreviations are accepted. Not all
operations are available on all systems, or work on all types of tape drives. Some
operations optionally take a repeat count, which can be given after the operation name and
defaults to 1.

eof, weof
Write count EOF marks at current position.

fsf Forward space count files. The tape is positioned on the first block of the next
file.

bsf Backward space count files. The tape is positioned on the first block of the next
file.

fsr Forward space count records.

bsr Backward space count records.

bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-
tape side of the file mark.

fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-
tape side of the file mark.

asf Absolute space to file number count. Equivalent to rewind followed by fsf count.

seek Seek to block number count.

eom Space to the end of the recorded media on the tape (for appending files onto
tapes).

rewind Rewind the tape.

offline, rewoffl
Rewind the tape and, if applicable, unload the tape.

status Print status information about the tape unit.

retension
Rewind the tape, then wind it to the end of the reel, then rewind it again.

erase Erase the tape.

mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name
given was invalid, or 2 if the operation failed.

OPTIONS
-f, --file=device
Use device as the file name of the tape drive to operate on. To use a tape drive
on another machine, use a filename that starts with `HOSTNAME:'. The hostname can
be preceded by a username and an `@' to access the remote tape drive as that user,
if you have permission to do so (typically an entry in that user's `~/.rhosts'
file).

--rsh-command=command
Notifies mt that it should use command to communicate with remote devices instead
of /usr/bin/ssh or /usr/bin/rsh.

-V, --version
Print the version number of mt.

REPORTING BUGS


Report cpio bugs to [email protected]

GNU cpio home page: <http://www.gnu.org/software/cpio/>

General help using GNU software: <http://www.gnu.org/gethelp/>

Report cpio translation bugs to <http://translationproject.org/team/>

MT(1)

Use mt-gnu online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad