Subject: dump and rmt
To: None <current-users@NetBSD.ORG>
From: Brook Milligan <brook@trillium.NMSU.Edu>
List: current-users
Date: 07/17/1996 13:03:48
I was trying to dump a filesystem to a remote tape and ran into an
error complaining about being unable to execute /etc/rmt.  Of course,
this doesn't exist, but seems to come from that path being specified
in .../src/sbin/dump/pathnames.h.  The following patch should fix

This all comes from a 1.1 system, so this may have been fixed since.
But in case it hasn't, and in case this can get into the 1.2 release,
here's the patch.

By the way, would it make sense to change the default tape in the same
file (and the man page) from something less anachronistic than


*** ./src/sbin/dump/pathnames.h.orig	Fri Oct 13 19:08:52 1995
--- ./src/sbin/dump/pathnames.h	Wed Jul 17 12:52:07 1996
*** 41,44 ****
  #define	_PATH_DTMP	"/etc/dtmp"
  #define	_PATH_DUMPDATES	"/etc/dumpdates"
  #define	_PATH_LOCK	"/tmp/dumplockXXXXXX"
! #define	_PATH_RMT	"/etc/rmt"
--- 41,44 ----
  #define	_PATH_DTMP	"/etc/dtmp"
  #define	_PATH_DUMPDATES	"/etc/dumpdates"
  #define	_PATH_LOCK	"/tmp/dumplockXXXXXX"
! #define	_PATH_RMT	"/usr/sbin/rmt"