X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fpathnames.h;h=281d204671cfaf7be24314b6fd19701ff05f1ce0;hb=26ce8fc8f42b8cdd92e9eaadae48be256813b001;hp=720b71b6b0b7294389d6b74263cbc973eb8d3af4;hpb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a;p=dump.git diff --git a/compat/include/pathnames.h b/compat/include/pathnames.h index 720b71b..281d204 100644 --- a/compat/include/pathnames.h +++ b/compat/include/pathnames.h @@ -2,10 +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 - Alcôve , 2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - Alcôve , 2000-2002 * - * $Id: pathnames.h,v 1.11 2000/12/21 11:14:53 stelian Exp $ + * $Id: pathnames.h,v 1.14 2003/10/26 16:05:46 stelian Exp $ */ /* @@ -20,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. * @@ -50,7 +46,12 @@ #endif #ifndef _PATH_DEFTAPE +#ifdef __linux__ #define _PATH_DEFTAPE "/dev/st0" #endif +#ifdef sunos +#define _PATH_DEFTAPE "/dev/rmt/0" +#endif +#endif #define _PATH_RMT "/etc/rmt" /* path on remote host */