Subject: bin/5696: mt(1) doesn't mention RCMD_CMD
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/02/1998 21:00:53
>Synopsis: mt(1) doesn't mention RCMD_CMD
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Thu Jul 2 19:05:00 1998
>Originator: Brian Grayson
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Release: June 30, 1998
mt(1) supports alternate means of starting processes on
remote machines besides rsh (i.e., ssh). However, the
man page does not mention this.
Desire to run mt host:dev on a cluster that has rsh
disabled. Look at source code. Look at man page.
--- mt.1.orig Thu Jul 2 20:45:02 1998
+++ mt.1 Thu Jul 2 20:54:18 1998
@@ -65,6 +65,12 @@
writes to the named tape device on the remote host using
.Xr rmt 8 .
+The rmt process on the remote host is typically
+.Xr rsh 1 ,
+although an alternate method such as ssh can be specified via
+the RCMD_CMD environment variable.
The available commands are listed below. Only as many
characters as are required to uniquely identify a command
@@ -155,7 +161,7 @@
returns a 0 exit status when the operation(s) were successful,
1 if the command was unrecognized, and 2 if an operation failed.
-If the following environment variable exists, it is utilized by
+If the following environment variables exist, they are utilized by
.Nm "" .
.Bl -tag -width Fl
.It Ev TAPE
@@ -166,6 +172,11 @@
is not given.
+.It Ev RCMD_CMD
+will use RCMD_CMD rather than /usr/bin/rsh to invoke rmt on a remote
+machine. (The full path name must be specified, of course.)
.Bl -tag -width src/sys/dev/scsipi/scsi_tape.h -compact
.It Pa /dev/rst*