Wrong raw device was created for cd/mcd: d instead of c
This commit is contained in:
parent
af46a3adab
commit
c890ff0027
@ -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]
|
||||
;;
|
||||
|
@ -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]
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user