From: dm Date: Wed, 17 Apr 1996 17:05:49 +0000 (+0000) Subject: Changed DEFTAPE from rst0 to nrst0. It is only used by mt, and running X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=784b8aa572c60c9019196cc9643d2988deeb79d1;p=openbsd 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. --- 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