]> git.wh0rd.org - dump.git/blobdiff - compat/include/pathnames.h
noos -> popies.net
[dump.git] / compat / include / pathnames.h
index 3e4194aadc4daabd829903bed6c88176c759bd10..9642e55d2664d6a41f350436d1a82e5f706252ba 100644 (file)
@@ -2,8 +2,10 @@
  *     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 <stelian@popies.net>, 1999-2000
+ *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  *
+ *     $Id: pathnames.h,v 1.12 2002/01/16 09:32:14 stelian Exp $
  */
 
 /*
  * 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 <config.h>
 #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_DUMPDATES "/etc/dumpdates"
-#define        _PATH_LOCK      "/tmp/dumplockXXXXXX"
+#endif
+
 #define        _PATH_RMT       "/etc/rmt"              /* path on remote host */