HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
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 describ-
ing 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 1M−−728 − 2 − HP-UX Release 11i: December 2000
___
___