diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-19 22:30:18 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-19 22:30:18 +0000 |
commit | 79f1988a5f2ca2a52c134490b40198893bc33855 (patch) | |
tree | 52b780d3c2b08468f766fd303545523f97ba3f60 /etc/etc.pmax/MAKEDEV | |
parent | 4eceda9a7bcd3f63723c96c36646491b65d260f2 (diff) |
bring MAKEDEV and disktab up to date with NetBSD (plus local changes)
Diffstat (limited to 'etc/etc.pmax/MAKEDEV')
-rw-r--r-- | etc/etc.pmax/MAKEDEV | 68 |
1 files changed, 16 insertions, 52 deletions
diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV index b820b826784..080500402e8 100644 --- a/etc/etc.pmax/MAKEDEV +++ b/etc/etc.pmax/MAKEDEV @@ -1,10 +1,11 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.9 1996/12/14 18:24:01 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.10 1997/01/19 22:30:17 graichen Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # # Device "make" file. Valid arguments: +# all all devices # std standard devices # local configuration specific devices # Tapes: @@ -27,11 +28,8 @@ # uk* unknown SCSI # ss* SCSI scanners # Platform-specific devices: -# NOTE: /dev/mouse should be a link to one of these for X windows. -# pm* raw interface to PMAX graphics devices -# cfb* raw interface to turbochannel PMAG-BA color frame buffer -# xcfb* raw interface to maxine graphics devices -# mfb* raw interface to mono graphics devices +# NOTE: /dev/mouse should be a link to one of the fb*'s. +# fb* framebuffer device # *random random data source PATH=/sbin:/bin/:/usr/bin:/usr/sbin @@ -40,6 +38,15 @@ for i do case $i in +all) + sh MAKEDEV std rz0 rz1 rz2 rz3 rz4 tz0 tz1 + sh MAKEDEV pty0 vnd0 vnd1 vnd2 vnd3 ccd0 ccd1 ccd2 ccd3 +# sh MAKEDEV tun0 tun1 tun2 tun3 + sh MAKEDEV bpf0 bpf1 bpf2 bpf3 +# sh MAKEDEV lkm local + sh MAKEDEV fb0 fb1 fb2 + ;; + std) mknod console c 0 0 mknod drum c 1 0 ; chmod 640 drum ; chown root.kmem drum @@ -176,52 +183,9 @@ scc*) esac ;; -pm*) - unit=`expr $i : 'pm\(.*\)'` - case $unit in - 0) - mknod pm0 c 8 0 - ;; - *) - echo bad unit for pm in: $i - ;; - esac - ;; - -cfb*) - unit=`expr $i : 'cfb\(.*\)'` - case $unit in - 0) - mknod cfb0 c 13 0 - ;; - *) - echo bad unit for cfb in: $i - ;; - esac - ;; - -xcfb*) - unit=`expr $i : 'xcfb\(.*\)'` - case $unit in - 0) - mknod xcfb0 c 14 0 - ;; - *) - echo bad unit for xcfb in: $i - ;; - esac - ;; - -mfb*) - unit=`expr $i : 'mfb\(.*\)'` - case $unit in - 0) - mknod mfb0 c 18 0 - ;; - *) - echo bad unit for mfb in: $i - ;; - esac +fb*) + unit=`expr $i : 'fb\(.*\)'` + mknod fb$unit c 86 $unit ; chmod 666 fb$unit ;; pty*) |