![]() |
![]()
| ![]() |
![]()
NAMErmt - remote magnetic tape server SYNOPSISrmt DESCRIPTIONRmt provides remote access to files and devices for tar(1), cpio(1), and similar backup utilities. It is normally called by running rsh(1) or ssh(1) to the remote machine, optionally using a different login name if one is supplied. The calling program communicates with rmt by sending requests on its standard input and reading replies from the standard output. A request consists of a request letter followed by an argument (if required) and a newline character. Additional data, if any, are sent after the newline. On success, rmt returns
where number is an ASCII representation of a decimal return code. Additional data are returned after this line. On error, the following response is returned:
where errno is one of the system error codes, as described in errno(3), and error-message is a one-line human-readable description of the error, as printed by perror(3). Available commands and possible responses are discussed in detail in the subsequent section. COMMANDS
In addition, a combined form is also allowed, i.e. a
decimal mode followed by its symbolic representation. In this case the
symbolic representation is given preference.
Reply A0\n on success.
Extensions BSD version allows only decimal number as
flags.
Performs an lseek(2) on the currently open device
with the specified parameters.
SEE ALSOtar(1). BUGSUsing this utility as a general-purpose remote file access tool is discouraged. BUG REPORTSReport bugs to <bug-tar@gnu.org>. HISTORYThe rmt command appeared in 4.2BSD. The GNU rmt is written from scratch, using the BSD specification. COPYRIGHTCopyright © 2013, 2018 Free Software Foundation, Inc.
|