X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=720b71b6b0b7294389d6b74263cbc973eb8d3af4;hb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a;hp=a4f42670beac73e730756dd639689caef4c6058a;hpb=1227625a12a66e0ded78a1997c2d23f23202a382;p=dump.git diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index a4f4267..720b71b 100644 --- a/compat/include/pathnames.h +++ b/compat/include/pathnames.h @@ -1,8 +1,11 @@ /* * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit - * Remy Card , 1994, 1995, 1996 + * Remy Card , 1994-1997 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 * + * $Id: pathnames.h,v 1.11 2000/12/21 11:14:53 stelian Exp $ */ /* @@ -36,14 +39,18 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * @(#)pathnames.h 8.1 (Berkeley) 6/5/93 */ +#include #include -#define _PATH_DEFTAPE "/dev/rmt8" -#define _PATH_DTMP "/etc/dtmp" -#define _PATH_DUMPDATES "/etc/dumpdates" -#define _PATH_LOCK "/tmp/dumplockXXXXXX" -#define _PATH_RMT "rmt" +#ifdef __linux__ +#include /* use the same default tape as "mt" */ +#define _PATH_DEFTAPE DEFTAPE +#endif + +#ifndef _PATH_DEFTAPE +#define _PATH_DEFTAPE "/dev/st0" +#endif + +#define _PATH_RMT "/etc/rmt" /* path on remote host */