* 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.14 2003/10/26 16:05:46 stelian Exp $
*/
/*
* 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.
*
* 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
+#ifdef __linux__
#define _PATH_DEFTAPE "/dev/st0"
-#define _PATH_DTMP "/etc/dtmp"
-#define _PATH_DUMPDATES "/etc/dumpdates"
-#define _PATH_LOCK "/tmp/dumplockXXXXXX"
+#endif
+#ifdef sunos
+#define _PATH_DEFTAPE "/dev/rmt/0"
+#endif
+#endif
+
#define _PATH_RMT "/etc/rmt" /* path on remote host */