X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=9642e55d2664d6a41f350436d1a82e5f706252ba;hb=1daf06b9786eb9669d929f40755e6252b238f220;hp=0bcf788e7908da6b804552dcf08521e688bb270f;hpb=b45f51d61e911ac8a040bef1efda6afd82261e03;p=dump.git diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index 0bcf788..9642e55 100644 --- a/compat/include/pathnames.h +++ b/compat/include/pathnames.h @@ -2,8 +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.12 2002/01/16 09:32:14 stelian Exp $ */ /* @@ -37,14 +39,18 @@ * 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 #include -#define _PATH_DEFTAPE "/dev/rmt8" -#define _PATH_DTMP "/etc/dtmp" -#define _PATH_DUMPDATES "/etc/dumpdates" -#define _PATH_LOCK "/tmp/dumplockXXXXXX" +#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 */