Browse Source

Updates for SCSI scanner and SCSI unknown devices.

Removed MI *dev_decl() stuff that is now in sys/conf.h
OPENBSD_2_1
kstailey 28 years ago
parent
commit
2cceb402c4
1 changed files with 22 additions and 1 deletions
  1. +22
    -1
      src/etc/etc.pmax/MAKEDEV

+ 22
- 1
src/etc/etc.pmax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -24,6 +24,8 @@
# bpf* packet filter # bpf* packet filter
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# tun* network tunnel driver # tun* network tunnel driver
# uk* unknown SCSI
# ss* SCSI scanners
# Platform-specific devices: # Platform-specific devices:
# NOTE: /dev/mouse should be a link to one of these for X windows. # NOTE: /dev/mouse should be a link to one of these for X windows.
# pm* raw interface to PMAX graphics devices # pm* raw interface to PMAX graphics devices
@ -260,6 +262,25 @@ random|srandom|urandom|prandom|arandom)
chmod 644 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) local)
umask 0 umask 0
sh MAKEDEV.local sh MAKEDEV.local


Loading…
Cancel
Save