-/* $OpenBSD: mt.c,v 1.16 1997/03/29 21:23:10 tholo Exp $ */
+/* $OpenBSD: mt.c,v 1.17 1997/04/16 04:19:07 millert Exp $ */
/* $NetBSD: mt.c,v 1.14.2.1 1996/05/27 15:12:11 mrg Exp $ */
/*
#if 0
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: mt.c,v 1.16 1997/03/29 21:23:10 tholo Exp $";
+static char rcsid[] = "$OpenBSD: mt.c,v 1.17 1997/04/16 04:19:07 millert Exp $";
#endif
#endif /* not lint */
tape = NULL;
} else {
if ((tape = getenv("TAPE")) == NULL)
- tape = DEFTAPE;
+ tape = _PATH_DEFTAPE;
}
while ((ch = getopt(argc, argv, "f:t:")) != -1) {
-/* $OpenBSD: mtio.h,v 1.3 1996/04/17 17:05:49 dm Exp $ */
-/* $NetBSD: mtio.h,v 1.12 1995/03/29 22:10:07 briggs Exp $ */
+/* $OpenBSD: mtio.h,v 1.4 1997/04/16 04:19:09 millert Exp $ */
+/* $NetBSD: mtio.h,v 1.14 1997/04/15 06:50:19 lukem Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
* @(#)mtio.h 8.1 (Berkeley) 6/2/93
*/
+#ifndef _SYS_MTIO_H_
+#define _SYS_MTIO_H_
+
/*
* Structures and definitions for mag tape io control commands
*/
#define MTIOCIEOT _IO('m', 3) /* ignore EOT error */
#define MTIOCEEOT _IO('m', 4) /* enable EOT error */
-#ifndef _KERNEL
-#define DEFTAPE "/dev/nrst0"
-#endif
-
#ifdef _KERNEL
/*
* minor device number
#define T_1600BPI 010 /* select 1600 bpi */
#define T_6250BPI 020 /* select 6250 bpi */
#define T_BADBPI 030 /* undefined selection */
-#endif
+#endif /* _KERNEL */
+
+#endif /* !_SYS_MTIO_H_ */