Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
International Medical Corps

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 157 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

mt



SYNOPSIS

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


DESCRIPTION

       This manual page documents the GNU version of mt.  mt per­
       forms  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 environ­
       ment  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  `HOST­
       NAME:'.  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  abbre­
       viations  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 posi­
              tioned  on  the  beginning-of-the-tape  side of the
              file mark.

       fsfm   Forward space count file marks.  The tape is  posi­
              tioned  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.
              reel, then rewind it again.

       erase  Erase the tape.

       fss    (SCSI tapes) Forward space count setmarks.

       bss    (SCSI tapes) Backward space count setmarks.

       wset   (SCSI tapes) Write count setmarks at current  posi­
              tion (only SCSI tape).

       eod, seod
              Space  to end of valid data.  Used on streamer tape
              drives to append data to the logical and of tape.

       setblk (SCSI tapes) Set the block size  of  the  drive  to
              count bytes per record.

       setdensity
              (SCSI  tapes)  Set  the tape density code to count.
              The proper codes to use with each drive  should  be
              looked up from the drive documentation.

       drvbuffer
              (SCSI tapes) Set the tape drive buffer code to num­
              ber.  The proper value for unbuffered operation  is
              zero and "normal" buffered operation one. The mean­
              ings of other values can be found in the drive doc­
              umentation  or, in case of a SCSI-2 drive, from the
              SCSI-2 standard.

       stoptions
              (SCSI tapes) Set the driver options bits  to  count
              for  the  device.  The bits can be set by oring the
              following values: 1 to enable write buffering, 2 to
              enable asynchronous writes, 4 to enable read ahead,
              8 to enable debugging output (if it has  been  com­
              piled to the driver).

       stwrthreshold
              (SCSI  tapes)  The  write  threshold  for  the tape
              device is set to count kilobytes. The value must be
              smaller than or equal to the driver buffer size.

       seek   (SCSI  tapes)  Seek to the count block on the tape.
              This operation is available on  some  Tandberg  and
              Wangtek streamers and some SCSI-2 tape drives.

       tell   (SCSI  tapes) Tell the current block on tape.  This
              operation is available on some Tandberg and Wangtek
              streamers and some SCSI-2 tape drives.

       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  `HOST­
              NAME:'.  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  communi­
              cate with remote devices instead of /usr/bin/ssh or
              /usr/bin/rsh.

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

                                                           MT(1L)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds