MT(1) BSD 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. By default mmtt per- forms the requested operation once. Operations may be performed multiple times by specifying _c_o_u_n_t. Note that _t_a_p_e_n_a_m_e must reference a raw (not block) tape device. 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. If a tape name is not specified, and the environment variable TAPE does not exist; mmtt uses the device _/_d_e_v_/_r_m_t_1_2. 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 /dev/rmt* Raw magnetic tape interface SSEEEE AALLSSOO dd(1), ioctl(2), environ(7) HHIISSTTOORRYY The mmtt command appeared in 4.3BSD. 4th Berkeley Distribution June 6, 1993 1