diff options
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r-- | etc/MAKEDEV | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 79644c2..44fae9f 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -87,7 +87,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.100 1995/08/01 13:15:52 jkh Exp $ +# $Id: MAKEDEV,v 1.101 1995/08/13 22:05:51 peter Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -617,6 +617,26 @@ matcd*) umask 77 ;; +wcd*) + umask 2 ; + unit=`expr $i : '...\(.*\)'` + blk=19 + chr=69 + rm -f wcd$unit? rwcd$unit? + case $unit in + 0|1|2|3) + mknod wcd${unit}c b $blk `expr $unit '*' 8 + 0` + mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 0` + chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h] + chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h] + ;; + *) + echo bad unit for disk in: $i + ;; + esac + umask 77 + ;; + lpt*) unit=`expr $i : 'lpt\(.*\)'` rm -f lpt$unit |