diff options
author | 1996-04-17 17:05:49 +0000 | |
---|---|---|
committer | 1996-04-17 17:05:49 +0000 | |
commit | 784b8aa572c60c9019196cc9643d2988deeb79d1 (patch) | |
tree | 889fbfe865202c020479ee4468437b45aec4e7d8 | |
parent | From NetBSD: Don't open tapes for writing when repositioning. (diff) | |
download | wireguard-openbsd-784b8aa572c60c9019196cc9643d2988deeb79d1.tar.xz wireguard-openbsd-784b8aa572c60c9019196cc9643d2988deeb79d1.zip |
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.
-rw-r--r-- | sys/sys/mtio.h | 4 |
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 |