Copyright (C) 2000-2012 |
Manpages RMTSection: Maintenance Commands (8)Index Return to Main Contents BSD mandoc BSD 4.2 NAMErmt - remote magtape protocol moduleSYNOPSISrmtDESCRIPTIONRmt is a program used by tar, cpio, mt, and the remote dump and restore programs in manipulating a magnetic tape drive through an interprocess communication connection. Rmt is normally started up with an rexec(3) or rcmd(3) call or the rsh(1) command.The rmt program accepts requests specific to the manipulation of magnetic tapes, performs the commands, then responds with a status indication. All responses are in ASCII and in one of two forms. Successful commands have responses of: Sm off A number \n Sm on Number is an ASCII representation of a decimal number. Unsuccessful commands are responded to with: Sm off Xo Sy E Ar error-number \n error-message \n Sm on Error-number is one of the possible error numbers described in intro(2) and error-message is the corresponding error string as printed from a call to perror(3). The protocol is comprised of the following commands, which are sent as indicated - no spaces are supplied between the command and its arguments, or between its arguments, and `\n' indicates that a newline should be supplied:
Sm off Sm on Any other command causes rmt to exit. DIAGNOSTICSAll responses are of the form described above.SEE ALSOtar(1), cpio(1), mt(1), rsh(1), rcmd(3), rexec(3), mtio(4), rdump(8), rrestore(8)BUGSPeople should be discouraged from using this for a remote file access protocol.HISTORYThe rmt command appeared in BSD 4.2
IndexThis document was created by man2html, using the manual pages. Time: 14:15:09 GMT, April 26, 2024 |