MT(1) UNIX Reference Manual MT(1) NNAAMMEE mmtt - magnetic tape manipulating program SSYYNNOOPPSSIISS mmtt [--ff _t_a_p_e_n_a_m_e] _c_o_m_m_a_n_d [_c_o_u_n_t] DDEESSCCRRIIPPTTIIOONN MMtt 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, mmtt uses the device /_d_e_v/_r_m_t_1_2. Note that _t_a_p_e_n_a_m_e must reference a raw (not block) tape device. By default mmtt performs the requested operation once. Operations may be performed multiple times by specifying _c_o_u_n_t. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. eeooff, wweeooff Write _c_o_u_n_t end-of-file marks at the current position on the tape. ffssff Forward space _c_o_u_n_t files. ffssrr Forward space _c_o_u_n_t records. bbssff Back space _c_o_u_n_t files. bbssrr Back space _c_o_u_n_t records. rreewwiinndd Rewind the tape (Count is ignored). oofffflliinnee, rreewwooffffll Rewind the tape and place the tape unit off-line (Count is ig- nored). ssttaattuuss Print status information about the tape unit. MMtt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. EENNVVIIRROONNMMEENNTT If the following environment variable exists, it is utilized by mmtt. TAPE MMtt checks the TAPE environment variable if the argument _t_a_p_e_n_a_m_e is not given. FFIILLEESS /_d_e_v/_r_m_t* Raw magnetic tape interface SSEEEE AALLSSOO dd(1), ioctl(2), environ(7) HHIISSTTOORRYY MMtt appeared in 4.3 BSD.