X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=afaa14ddfcf2cfb642a04d088a1843557de1e341;hp=29bbd681a14916473308e854c4e7b221ff52cdf7;hb=e1abc9ce25132eef1239047a071c2c1d4822dd9f;hpb=d339304329df2d458e54c02eac10a27cb31d9cb1 diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index 29bbd68..afaa14d 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-2002 * - * $Id: pathnames.h,v 1.7 2000/02/26 01:35:48 stelian Exp $ + * $Id: pathnames.h,v 1.13 2003/03/30 15:40:34 stelian Exp $ */ /* @@ -19,11 +20,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -40,7 +37,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" +#endif + #define _PATH_RMT "/etc/rmt" /* path on remote host */