summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-11 23:20:48 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-11 23:20:48 +0000
commita2709c396de005feb83970a5e50a9fe6b63dc77f (patch)
treeb076e0b292efb7f8c71b0d45cf03a84467eb2666 /etc
parentd1cc9c5720aa64b90afed2cd93937f5c37bbb1a8 (diff)
Updates for SCSI scanner and SCSI unknown devices.
Removed MI *dev_decl() stuff that is now in sys/conf.h
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.pmax/MAKEDEV23
1 files changed, 22 insertions, 1 deletions
diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV
index 9363659932e..259dd0ff943 100644
--- a/etc/etc.pmax/MAKEDEV
+++ b/etc/etc.pmax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.7 1996/09/18 22:03:46 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.8 1996/11/11 23:20:46 kstailey Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -24,6 +24,8 @@
# bpf* packet filter
# lkm loadable kernel modules interface
# tun* network tunnel driver
+# 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
@@ -260,6 +262,25 @@ random|srandom|urandom|prandom|arandom)
chmod 644 random srandom urandom prandom arandom
;;
+uk*)
+ unit=`expr $i : 'uk\(.*\)'`
+ rm -f uk$unit
+ mknod uk$unit c 98 $unit
+ chown root.operator uk$unit
+ chmod 640 uk$unit
+ ;;
+
+ss*)
+ unit=`expr $i : 'ss\(.*\)'`
+ rm -f ss$unit
+ mknod ss$unit c 99 $unit
+ chown root.operator ss$unit
+ chmod 440 ss$unit
+# backwards compatibility with older PINTs
+ rm -f scan$unit
+ ln -s ss$unit scan$unit
+ ;;
+
local)
umask 0
sh MAKEDEV.local