Manual page for RMT(8C)
rmt - remote magtape protocol module
is a program used by the remote dump and restore programs
in manipulating a magnetic tape drive through an interprocess
is normally started up with an
program accepts requests specific to the manipulation of
magnetic tapes, performs the commands, then responds with
a status indication. All responses are in
and in one of two forms.
Successful commands have responses of
representation of a decimal number.
Unsuccessful commands are responded to with
is one of the possible error
numbers described in
is the corresponding error string as printed
from a call to
The protocol is comprised of the
Return the status of the open device, as
obtained with a
call. If the operation was successful,
an ``ack'' is sent with the size of the
status buffer, then the status buffer is
sent (in binary).
Close the currently open device. The
specified is ignored.
command using the specified parameters.
The parameters are interpreted as the
representations of the decimal values to place in the
fields of the structure used in the
call. The return value is the
parameter when the operation is successful.
operation using the specified parameters.
The response value is that returned from the
Open the specified
using the indicated
is a full pathname and
representation of a decimal
number suitable for passing to
If a device had already been opened, it is
closed before a new open is performed.
bytes of data from the open device.
performs the requested
and responds with
if the read was
successful; otherwise an error in the
standard format is returned. If the read
was successful, the data read is then sent.
Write data onto the open device.
bytes from the connection, aborting if
is encountered. The response value is that returned from the
Any other command causes
All responses are of the form described above.
People tempted to use this for a remote file access protocol
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97