summaryrefslogtreecommitdiff
path: root/etc/etc.mvme68k
diff options
context:
space:
mode:
authorgvf <gvf@cvs.openbsd.org>1997-04-22 20:26:39 +0000
committergvf <gvf@cvs.openbsd.org>1997-04-22 20:26:39 +0000
commit1bd38fb88632f18e3f11ca4bc2bfc0d4d327e181 (patch)
tree76618972c87381552baaabc80da74a3d5478fef5 /etc/etc.mvme68k
parent53107a57877fd03e8508e1d6ba50c0fcaf013a32 (diff)
fix vnd
Diffstat (limited to 'etc/etc.mvme68k')
-rw-r--r--etc/etc.mvme68k/MAKEDEV7
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV
index 898020b97fc..629877ae3e2 100644
--- a/etc/etc.mvme68k/MAKEDEV
+++ b/etc/etc.mvme68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.16 1997/02/16 03:57:28 rahnds Exp $
+# $OpenBSD: MAKEDEV,v 1.17 1997/04/22 20:26:38 gvf Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: MAKEDEV,v 1.16 1997/02/16 03:57:28 rahnds Exp $
+# $Id: MAKEDEV,v 1.17 1997/04/22 20:26:38 gvf Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@@ -187,8 +187,6 @@ sd*|vnd*|ccd*)
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
- if [ $name != cd -a $name != vnd ]
- then
mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
@@ -219,7 +217,6 @@ sd*|vnd*|ccd*)
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13`
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
- fi
chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
;;