X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=9642e55d2664d6a41f350436d1a82e5f706252ba;hp=20454e34656debb618b0fd1bb1c26f5fc1f10c78;hb=11856e771fadee7ddb9b5a613c91f562bf363da7;hpb=df9ae507502f413c72119dde6ea3d35c91dba5bf diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index 20454e3..9642e55 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 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: pathnames.h,v 1.5 1999/10/13 09:57:18 stelian Exp $ + * $Id: pathnames.h,v 1.12 2002/01/16 09:32:14 stelian Exp $ */ /* @@ -40,9 +41,16 @@ * SUCH DAMAGE. */ +#include #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 */