HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

r
rmt(1M) rmt(1M)
machine<blank>value <newline>
stat_struct_member_name<blank>value <newline>
The end of the data is indicated by an
ASCII NULL character. See
/usr/include/sys/stat.h
for the
struct stat definition. In addi-
tion to the struct stat information, there is an entry in the buffer describing
the machine type as returned from a
uname()
call (see uname(2)). In the
above format ‘‘machine’’ is a key word. All fields except
st_spare4 of the
struct stat are returned.
m Return the status of the open device, as obtained with a
MTIOCGET
ioctl() call. If the operation was successful, an
ack is sent with the size of
the status buffer, then the status buffer is sent in the following
ASCII format:
machine<blank>value <newline>
mtget_struct_member_name<blank>value<newline>
The end of the data is indicated by an
ASCII NULL character. See
/usr/include/sys/mtio.h
for the
struct mtget definition. In
addition to the struct mtget information there is an entry in the buffer
describing the machine type as returned from a
uname() call. In the above
format ‘‘machine’’ is a keyword.
Any other command causes
rmt to exit.
RETURN VALUE
Device status is returned in the field
mt_gstat. /usr/include/sys/mtio.h
contains defined
macros for checking the status bits.
DIAGNOSTICS
All responses are of the form described above.
AUTHOR
rmt was developed by the University of California, Berkeley.
SEE ALSO
ftio(1), fbackup(1M), frecover(1M), dump(1M), restore(1M), rcmd(3N), rexec(3N).
WARNINGS
Use of this command for remote file access protocol is discouraged.
Section 1M690 Hewlett-Packard Company 2 HP-UX 11i Version 2: August 2003