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
fe357778cd
1 changed files with 24 additions and 1 deletions
  1. +24
    -1
      src/etc/etc.sparc/MAKEDEV

+ 24
- 1
src/etc/etc.sparc/MAKEDEV View File

@ -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


Loading…
Cancel
Save