Wrong raw device was created for cd/mcd: d instead of c

This commit is contained in:
Andrey A. Chernov 1994-11-12 15:48:54 +00:00
parent 9c971e7df2
commit 0e60e64d95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4391
2 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
# $Id: MAKEDEV,v 1.47 1994/11/02 06:36:42 phk Exp $
# $Id: MAKEDEV,v 1.48 1994/11/10 02:32:29 phk Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -395,9 +395,9 @@ cd*|mcd*)
case $unit in
0|1|2|3|4|5|6)
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
;;

View File

@ -71,7 +71,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
# $Id: MAKEDEV,v 1.47 1994/11/02 06:36:42 phk Exp $
# $Id: MAKEDEV,v 1.48 1994/11/10 02:32:29 phk Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -395,9 +395,9 @@ cd*|mcd*)
case $unit in
0|1|2|3|4|5|6)
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
;;