mt(1)


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 bug-cpio@gnu.org

   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)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.