Browse Source

Fix vnd nodes.

OPENBSD_2_1
gvf 28 years ago
parent
commit
e26356d53e
6 changed files with 6 additions and 23 deletions
  1. +1
    -4
      src/etc/etc.amiga/MAKEDEV
  2. +1
    -3
      src/etc/etc.arc/MAKEDEV
  3. +0
    -3
      src/etc/etc.atari/MAKEDEV
  4. +1
    -4
      src/etc/etc.pmax/MAKEDEV
  5. +1
    -4
      src/etc/etc.wgrisc/MAKEDEV
  6. +2
    -5
      src/etc/etc.x68k/MAKEDEV

+ 1
- 4
src/etc/etc.amiga/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.18 1996/12/14 18:23:50 millert Exp $
# $OpenBSD: MAKEDEV,v 1.19 1997/04/23 20:38:59 gvf Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -213,8 +213,6 @@ sd*|vnd*|ccd*|wd*)
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) 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 ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}c c $chr `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}a b $blk `expr $unit '*' 16 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
@ -245,7 +243,6 @@ sd*|vnd*|ccd*|wd*)
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` 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}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
fi
chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
;; ;;


+ 1
- 3
src/etc/etc.arc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.10 1997/04/07 11:49:42 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.11 1997/04/23 20:39:01 gvf Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -166,7 +166,6 @@ fd*|sd*|vnd*)
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0` mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
if [ $name != vnd ]; then
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
mknod ${name}${unit}e b $blk `expr $unit '*' 16 + 4` mknod ${name}${unit}e b $blk `expr $unit '*' 16 + 4`
@ -195,7 +194,6 @@ fd*|sd*|vnd*)
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` 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}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
fi
chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
;; ;;


+ 0
- 3
src/etc/etc.atari/MAKEDEV View File

@ -217,8 +217,6 @@ sd*|vnd*|ccd*)
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) 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 ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}c c $chr `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}a b $blk `expr $unit '*' 16 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
@ -249,7 +247,6 @@ sd*|vnd*|ccd*)
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` 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}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
fi
chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
;; ;;


+ 1
- 4
src/etc/etc.pmax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.11 1997/02/03 10:29:13 graichen Exp $
# $OpenBSD: MAKEDEV,v 1.12 1997/04/23 20:39:04 gvf Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -130,8 +130,6 @@ rz*|vnd*|vn*|ccd*)
0|1|2|3|4|5|6) 0|1|2|3|4|5|6)
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
if [ $name != vnd ]
then
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
@ -146,7 +144,6 @@ rz*|vnd*|vn*|ccd*)
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
fi
chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
;; ;;


+ 1
- 4
src/etc/etc.wgrisc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.1 1997/04/09 09:04:43 pefo Exp $
# $OpenBSD: MAKEDEV,v 1.2 1997/04/23 20:39:05 gvf Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -124,8 +124,6 @@ cd*|sd*|vnd*)
0|1|2|3|4|5|6) 0|1|2|3|4|5|6)
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2`
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2`
if [ $name != vnd ]
then
mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
@ -156,7 +154,6 @@ cd*|sd*|vnd*)
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` 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}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
fi
chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p]
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p]
;; ;;


+ 2
- 5
src/etc/etc.x68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.6 1996/12/14 18:24:05 millert Exp $
# $OpenBSD: MAKEDEV,v 1.7 1997/04/23 20:39:06 gvf Exp $
# $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $ # $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -34,7 +34,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# $Id: MAKEDEV,v 1.6 1996/12/14 18:24:05 millert Exp $
# $Id: MAKEDEV,v 1.7 1997/04/23 20:39:06 gvf Exp $
# #
# from: # from:
# hp300/MAKEDEV (1/15/94), from: # hp300/MAKEDEV (1/15/94), from:
@ -214,8 +214,6 @@ sd*|vnd*|ccd*)
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
if [ $name != cd -a $name != vnd ]
then
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
@ -230,7 +228,6 @@ sd*|vnd*|ccd*)
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
fi
chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
;; ;;


Loading…
Cancel
Save