summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
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