From 784b8aa572c60c9019196cc9643d2988deeb79d1 Mon Sep 17 00:00:00 2001 From: dm Date: Wed, 17 Apr 1996 17:05:49 +0000 Subject: [PATCH] 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. --- sys/sys/mtio.h | 4 ++-- 1 file 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 -- 2.20.1