summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-04-17 17:05:50 +0000
committerdm <dm@cvs.openbsd.org>1996-04-17 17:05:50 +0000
commitc439b853d46dd8eb4e5ece04c21bbc63ff32b5f4 (patch)
treea32e7ca4ca0b2ea35dcff7750b25b8aca7adf141 /sys
parent41fbb6546f4438344d034efe55df1f7561160e6f (diff)
Changed DEFTAPE from rst0 to nrst0. It is only used by mt, and running
mt on /dev/rst0 can be dangerous because you think it's repositioning the tape when in fact it rewinds right after positioning.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mtio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mtio.h b/sys/sys/mtio.h
index 646511cb81d..36f295bfef0 100644
--- a/sys/sys/mtio.h
+++ b/sys/sys/mtio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtio.h,v 1.2 1996/03/03 12:12:04 niklas Exp $ */
+/* $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 $ */
/*
@@ -119,7 +119,7 @@ struct mtget {
#define MTIOCEEOT _IO('m', 4) /* enable EOT error */
#ifndef _KERNEL
-#define DEFTAPE "/dev/rst0"
+#define DEFTAPE "/dev/nrst0"
#endif
#ifdef _KERNEL