]> git.wh0rd.org - dump.git/blobdiff - compat/include/pathnames.h
Fix a compile problem (e2fs label related).
[dump.git] / compat / include / pathnames.h
index fb8f500715bc6dece7e5fd14c1cd5f409ab64d98..b5b025a161c105a5f4ae082dc77627cafc471654 100644 (file)
@@ -3,8 +3,9 @@
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
  *     Stelian Pop <pop@cybercable.fr>, 1999-2000
+ *     Stelian Pop <pop@cybercable.fr> - AlcĂ´ve <www.alcove.fr>, 2000
  *
- *     $Id: pathnames.h,v 1.6 2000/01/21 10:17:41 stelian Exp $
+ *     $Id: pathnames.h,v 1.9 2000/11/10 14:42:24 stelian Exp $
  */
 
 /*
 
 #include <paths.h>
 
+#ifdef __linux__
+#include <sys/mtio.h>  /* 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 */