diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-12-30 20:51:36 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-12-30 20:51:36 +0000 |
| commit | 513a014830b693bb3813b31bfb490f135eb748f8 (patch) | |
| tree | 03e4a28b0197156a20e359e00fbcc9706b3ab5ec | |
| parent | effbfcfdc6290e1eec934b23b51206d7a7b40fa5 (diff) | |
Notes
| -rw-r--r-- | etc/MAKEDEV | 14 | ||||
| -rw-r--r-- | etc/etc.i386/MAKEDEV | 14 |
2 files changed, 18 insertions, 10 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 71a9f08ff252..54b7687848e2 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -102,7 +102,7 @@ # perfmon CPU performance-monitoring counters # pci PCI configuration-space access from user mode # -# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $ +# $Id: MAKEDEV,v 1.129 1996/12/13 07:54:57 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -1000,10 +1000,14 @@ vat) ;; gsc*) - rm -f gsc0 - mknod gsc0 c 47 0 - chmod 666 gsc0 - chown root.wheel gsc0 + unit=`expr $i : 'gsc\(.*\)'` + rm -f gsc${unit}* + mknod gsc${unit} c 47 $unit + mknod gsc${unit}p c 47 $(($unit + 8)) + mknod gsc${unit}d c 47 $(($unit + 32)) + mknod gsc${unit}pd c 47 $(($unit + 40)) + chmod 666 gsc${unit}* + chown root.wheel gsc${unit}* ;; apm*) diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 71a9f08ff252..54b7687848e2 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -102,7 +102,7 @@ # perfmon CPU performance-monitoring counters # pci PCI configuration-space access from user mode # -# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $ +# $Id: MAKEDEV,v 1.129 1996/12/13 07:54:57 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -1000,10 +1000,14 @@ vat) ;; gsc*) - rm -f gsc0 - mknod gsc0 c 47 0 - chmod 666 gsc0 - chown root.wheel gsc0 + unit=`expr $i : 'gsc\(.*\)'` + rm -f gsc${unit}* + mknod gsc${unit} c 47 $unit + mknod gsc${unit}p c 47 $(($unit + 8)) + mknod gsc${unit}d c 47 $(($unit + 32)) + mknod gsc${unit}pd c 47 $(($unit + 40)) + chmod 666 gsc${unit}* + chown root.wheel gsc${unit}* ;; apm*) |
