summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-11 23:30:29 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-11 23:30:29 +0000
commit35d60e19ded1f1ada2b002fcb91346320f69a6e5 (patch)
tree20db16343db0f956e0f1e3da8868806241991b11 /etc
parenta2709c396de005feb83970a5e50a9fe6b63dc77f (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.sparc/MAKEDEV25
1 files changed, 24 insertions, 1 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index e3e9e5e86ed..a7637d29e11 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.10 1996/11/06 01:34:02 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.11 1996/11/11 23:30:25 kstailey Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -45,6 +45,8 @@
# cd* SCSI cdrom drives
# st* SCSI tape
# ch* SCSI changer
+# uk* unknown SCSI
+# ss* SCSI scanners
# xy* Xylogic 450/451 disks
# xd* Xylogic 753/7053 disks
# fd* Floppies
@@ -81,6 +83,8 @@ case $i in
all)
sh MAKEDEV std sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3
sh MAKEDEV cd0 st0 st1 fd0
+ sh MAKEDEV uk0 uk1
+ sh MAKEDEV ss0 ss1
sh MAKEDEV pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 ipl bwtwo0 cgthree0 cgfour0 cgsix0
@@ -360,6 +364,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