]> git.wh0rd.org - dump.git/blobdiff - compat/include/pathnames.h
Take the default tape device value and the path for fstab from system headers files.
[dump.git] / compat / include / pathnames.h
index 20454e34656debb618b0fd1bb1c26f5fc1f10c78..34218c8c89ecabdd5f9d3c2c99a83120670a444d 100644 (file)
@@ -2,9 +2,9 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999 
+ *     Stelian Pop <pop@cybercable.fr>, 1999-2000
  *
- *     $Id: pathnames.h,v 1.5 1999/10/13 09:57:18 stelian Exp $
+ *     $Id: pathnames.h,v 1.8 2000/11/10 09:35:07 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 */