X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=7669ab3482d455637a4945ac8dee4b91b130a76b;hb=109e9e1d1a904627eeae4d519a0f694795b2892c;hp=fb8f500715bc6dece7e5fd14c1cd5f409ab64d98;hpb=ebcbe7f6c10482913b60fc792e72e494b439b242;p=dump.git diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index fb8f500..7669ab3 100644 --- a/compat/include/pathnames.h +++ b/compat/include/pathnames.h @@ -2,9 +2,10 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 * - * $Id: pathnames.h,v 1.6 2000/01/21 10:17:41 stelian Exp $ + * $Id: pathnames.h,v 1.10 2000/12/04 15:43:16 stelian Exp $ */ /* @@ -42,7 +43,13 @@ #include +#ifdef __linux__ +#include /* use the same default tape as "mt" */ +#define _PATH_DEFTAPE DEFTAPE +#endif + +#ifndef _PATH_DEFTAPE #define _PATH_DEFTAPE "/dev/st0" -#define _PATH_DTMP "/etc/dtmp" -#define _PATH_LOCK "/tmp/dumplockXXXXXX" +#endif + #define _PATH_RMT "/etc/rmt" /* path on remote host */