summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1996-12-29 11:48:45 +0000
committerobrien <obrien@FreeBSD.org>1996-12-29 11:48:45 +0000
commitaa9d006dfd01f6cffe0e156296db5517694cd269 (patch)
tree425358ef227f8ed60f0bd22e4261267474365770 /sbin/dump
parenta1f8d0ff6468d61321ab82ffca74742dc7b73985 (diff)
downloadFreeBSD-src-aa9d006dfd01f6cffe0e156296db5517694cd269.zip
FreeBSD-src-aa9d006dfd01f6cffe0e156296db5517694cd269.tar.gz
Backing out my change of /etc/rmt -> /usr/sbin/rmt.
Added comments in both files stateing why /etc/rmt is correct so someone else wont do the same thing again. Suggested by: Warner Losh & Ollivier
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dump.83
-rw-r--r--sbin/dump/pathnames.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index 7c6e5c2..6565411 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -125,7 +125,8 @@ writes to the named file on the remote host using
The default path name of the remote
.Xr rmt 8
program is
-.Pa /usr/sbin/rmt ;
+.\" rmt path, is the path on the remote host
+.Pa /etc/rmt ;
this can be overridden by the environment variable
.Ev RMT .
.It Cm d Ar density
diff --git a/sbin/dump/pathnames.h b/sbin/dump/pathnames.h
index 1b4ac8b..65f6b19 100644
--- a/sbin/dump/pathnames.h
+++ b/sbin/dump/pathnames.h
@@ -39,4 +39,4 @@
#define _PATH_DTMP "/etc/dtmp"
#define _PATH_DUMPDATES "/etc/dumpdates"
#define _PATH_LOCK "/tmp/dumplockXXXXXX"
-#define _PATH_RMT "/usr/sbin/rmt"
+#define _PATH_RMT "/etc/rmt" /* path on remote host */
OpenPOWER on IntegriCloud