Browse Source

add an entry for ALTQ.

OPENBSD_3_0
kjc 23 years ago
parent
commit
3ed110fb8d
13 changed files with 209 additions and 27 deletions
  1. +16
    -2
      src/etc/etc.alpha/MAKEDEV
  2. +16
    -2
      src/etc/etc.amiga/MAKEDEV
  3. +16
    -2
      src/etc/etc.hp300/MAKEDEV
  4. +16
    -2
      src/etc/etc.hppa/MAKEDEV
  5. +16
    -2
      src/etc/etc.i386/MAKEDEV
  6. +16
    -2
      src/etc/etc.mac68k/MAKEDEV
  7. +17
    -3
      src/etc/etc.mvme68k/MAKEDEV
  8. +16
    -2
      src/etc/etc.mvme88k/MAKEDEV
  9. +16
    -2
      src/etc/etc.mvmeppc/MAKEDEV
  10. +16
    -2
      src/etc/etc.powerpc/MAKEDEV
  11. +16
    -2
      src/etc/etc.sparc/MAKEDEV
  12. +16
    -2
      src/etc/etc.sun3/MAKEDEV
  13. +16
    -2
      src/etc/etc.vax/MAKEDEV

+ 16
- 2
src/etc/etc.alpha/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.58 2001/06/25 18:24:28 nate Exp $
# $OpenBSD: MAKEDEV,v 1.59 2001/06/28 02:58:52 kjc Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ # $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -83,6 +83,7 @@
# *random inkernal random data source # *random inkernal random data source
# uk* SCSI Unknown device # uk* SCSI Unknown device
# ss* SCSI scanners # ss* SCSI scanners
# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0 this=$0
@ -162,7 +163,7 @@ all)
sh $this mmclock lpa0 lpt0 random sh $this mmclock lpa0 lpt0 random
sh $this uk0 uk1 ss0 ss1 sh $this uk0 uk1 ss0 ss1
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh $this local xfs0
sh $this local xfs0 altq
sh $this usbs wscons ttyCcfg sh $this usbs wscons ttyCcfg
;; ;;
@ -587,6 +588,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 53 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh $this.local test -s MAKEDEV.local && sh $this.local


+ 16
- 2
src/etc/etc.amiga/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.49 2001/06/25 03:19:47 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.50 2001/06/28 02:58:53 kjc Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -91,6 +91,7 @@
# *random inkernal random data source # *random inkernal random data source
# audio* one unit of the audio device. Unit 0 is custom chip audio. # audio* one unit of the audio device. Unit 0 is custom chip audio.
# joy* amiga joysticks # joy* amiga joysticks
# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0 this=$0
@ -169,7 +170,7 @@ all)
sh $this view00 view01 view02 view03 view04 view05 pty0 pty1 sh $this view00 view01 view02 view03 view04 view05 pty0 pty1
sh $this lpa0 lpa1 lpt0 lpt1 lpt2 sh $this lpa0 lpa1 lpt0 lpt1 lpt2
sh $this ccd0 ccd1 ccd2 ccd3 wd0 wd1 ch0 uk0 uk1 sh $this ccd0 ccd1 ccd2 ccd3 wd0 wd1 ch0 uk0 uk1
sh $this pf tun0 tun1 par0 lkm ss0 random audio0 xfs0 local
sh $this pf tun0 tun1 par0 lkm ss0 random audio0 xfs0 altq local
;; ;;
floppy|ramdisk) floppy|ramdisk)
@ -676,6 +677,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 52 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh $this.local test -s MAKEDEV.local && sh $this.local


+ 16
- 2
src/etc/etc.hp300/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.34 2001/06/25 03:19:52 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.35 2001/06/28 02:58:53 kjc Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ # $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -67,6 +67,7 @@
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# *random inkernel random number generator # *random inkernel random number generator
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# altq ALTQ control interface
# #
PATH=/sbin:/bin/:/usr/bin:/usr/sbin PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@ -102,7 +103,7 @@ all)
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
sh MAKEDEV hil grf0 apci0 ppi0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 sh MAKEDEV hil grf0 apci0 ppi0 ite0 dca0 dcm0 dcm1 dcm2 dcm3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 altq
sh MAKEDEV local sh MAKEDEV local
;; ;;
@ -513,6 +514,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 52 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.hppa/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.6 2001/06/25 03:19:57 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.7 2001/06/28 02:58:54 kjc Exp $
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 # @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
# #
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
@ -31,6 +31,7 @@
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# *random inkernel random number generator # *random inkernel random number generator
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# altq ALTQ control interface
# #
PATH=/sbin:/bin/:/usr/bin:/usr/sbin PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@ -105,7 +106,7 @@ all)
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
sh MAKEDEV hil com0 com1 com2 com3 sh MAKEDEV hil com0 com1 com2 com3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 altq
sh MAKEDEV local sh MAKEDEV local
;; ;;
@ -328,6 +329,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 33 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.100 2001/06/24 23:36:02 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.101 2001/06/28 02:58:54 kjc Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -98,6 +98,7 @@
# bktr0 video capturing # bktr0 video capturing
# tuner0 tuner device # tuner0 tuner device
# wdt0 watchdog timer # wdt0 watchdog timer
# altq ALTQ control interface
# #
PATH=/sbin:/usr/sbin:/bin:/usr/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin
@ -196,7 +197,7 @@ all)
sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0 sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0
sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H
sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H
sh $this xfs0 music
sh $this xfs0 music altq
sh $this rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $this rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
sh $this usbs crypto sh $this usbs crypto
# MISSING: # MISSING:
@ -756,6 +757,19 @@ pci*)
chmod 664 pci chmod 664 pci
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 74 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s $this.local && sh $this.local test -s $this.local && sh $this.local


+ 16
- 2
src/etc/etc.mac68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.34 2001/06/25 03:20:03 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.35 2001/06/28 02:58:54 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -62,6 +62,7 @@
# *random inkernal random data source # *random inkernal random data source
# uk* SCSI Unknown device # uk* SCSI Unknown device
# ss* SCSI scanners # ss* SCSI scanners
# altq ALTQ control interface
# #
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
@ -143,7 +144,7 @@ all)
sh $this lkm sh $this lkm
sh $this random sh $this random
sh $this uk0 uk1 sh $this uk0 uk1
sh $this ss0 xfs0
sh $this ss0 xfs0 altq
sh $this local sh $this local
;; ;;
@ -480,6 +481,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 52 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh $this.local test -s MAKEDEV.local && sh $this.local


+ 17
- 3
src/etc/etc.mvme68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $
# #
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
# all makes all known devices, including local devices, # all makes all known devices, including local devices,
@ -71,6 +71,7 @@
# tun* network tunnel driver # tun* network tunnel driver
# uk* unknown SCSI # uk* unknown SCSI
# ss* SCSI scanners # ss* SCSI scanners
# altq ALTQ control interface
# #
# Machine specific devices: # Machine specific devices:
# sram static ram available on some models. # sram static ram available on some models.
@ -98,7 +99,7 @@ all)
#sh MAKEDEV lp0 lptwo0 #sh MAKEDEV lp0 lptwo0
sh MAKEDEV random sh MAKEDEV random
sh MAKEDEV uk0 uk1 sh MAKEDEV uk0 uk1
sh MAKEDEV ss0
sh MAKEDEV ss0 altq
;; ;;
std) std)
@ -475,6 +476,19 @@ ss*)
ln -s ss$unit scan$unit ln -s ss$unit scan$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 52 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.mvme88k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.13 2001/06/25 03:20:11 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.14 2001/06/28 02:58:55 kjc Exp $
# $NetBSD: MAKEDEV,v 1.5 1997/01/01 23:46:23 pk Exp $ # $NetBSD: MAKEDEV,v 1.5 1997/01/01 23:46:23 pk Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -56,6 +56,7 @@
# ss* SCSI scanner # ss* SCSI scanner
# uk* SCSI unknown # uk* SCSI unknown
# ch* SCSI changer # ch* SCSI changer
# altq ALTQ control interface
# #
# Machine specific devices: # Machine specific devices:
# sram static ram available on some models. # sram static ram available on some models.
@ -85,7 +86,7 @@ all)
#sh $this lp0 lptwo0 #sh $this lp0 lptwo0
sh $this random sh $this random
sh $this uk0 uk1 sh $this uk0 uk1
sh $this ss0
sh $this ss0 altq
;; ;;
std) std)
@ -347,6 +348,19 @@ lkm)
chmod 640 lkm chmod 640 lkm
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 52 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.mvmeppc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.1 2001/06/26 22:37:36 smurph Exp $
# $OpenBSD: MAKEDEV,v 1.2 2001/06/28 02:58:56 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -77,6 +77,7 @@
# tun* network tunnel driver # tun* network tunnel driver
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# *random inkernal random data source # *random inkernal random data source
# altq ALTQ control interface
# #
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
@ -162,7 +163,7 @@ all)
sh $this random uk0 uk1 ss0 ss1 sh $this random uk0 uk1 ss0 ss1
sh $this wscons sh $this wscons
sh $this pci sh $this pci
sh $this lkm xfs0
sh $this lkm xfs0 altq
sh $this usbs sh $this usbs
sh $this local sh $this local
;; ;;
@ -634,6 +635,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 71 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh $this.local test -s MAKEDEV.local && sh $this.local


+ 16
- 2
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.50 2001/06/26 07:04:17 drahn Exp $
# $OpenBSD: MAKEDEV,v 1.51 2001/06/28 02:58:56 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -77,6 +77,7 @@
# tun* network tunnel driver # tun* network tunnel driver
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# *random inkernal random data source # *random inkernal random data source
# altq ALTQ control interface
# #
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
@ -162,7 +163,7 @@ all)
sh $this random uk0 uk1 ss0 ss1 sh $this random uk0 uk1 ss0 ss1
sh $this wscons sh $this wscons
sh $this pci sh $this pci
sh $this lkm xfs0
sh $this lkm xfs0 altq
sh $this usbs sh $this usbs
sh $this local sh $this local
;; ;;
@ -634,6 +635,19 @@ xfs*)
chown root.wheel xfs$unit chown root.wheel xfs$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 72 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh $this.local test -s MAKEDEV.local && sh $this.local


+ 16
- 2
src/etc/etc.sparc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.68 2001/06/25 03:20:17 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.69 2001/06/28 02:58:56 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -86,6 +86,7 @@
# spif* spif card (makes 8 tty and 1 bpp) # spif* spif card (makes 8 tty and 1 bpp)
# bpp* bpp # bpp* bpp
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0 this=$0
@ -208,7 +209,7 @@ all)
sh $this bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0 sh $this bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
sh $this cgeight0 cgfourteen0 tcx0 sh $this cgeight0 cgfourteen0 tcx0
sh $this lkm random local sh $this lkm random local
sh $this xfs0
sh $this xfs0 altq
;; ;;
floppy) floppy)
@ -734,6 +735,19 @@ ss*)
ln -s ss$unit scan$unit ln -s ss$unit scan$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 125 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.sun3/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.36 2001/06/25 03:20:20 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.37 2001/06/28 02:58:57 kjc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -70,6 +70,7 @@
# tun* network tunnel driver # tun* network tunnel driver
# *random inkernal random data source # *random inkernal random data source
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0 this=$0
@ -188,7 +189,7 @@ all)
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this bwtwo0 cgtwo0 cgfour0 sh $this bwtwo0 cgtwo0 cgfour0
sh $this random local sh $this random local
sh $this xfs0
sh $this xfs0 altq
;; ;;
ramdisk) ramdisk)
@ -482,6 +483,19 @@ ss*)
ln -s ss$unit scan$unit ln -s ss$unit scan$unit
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 85 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
test -s MAKEDEV.local && sh MAKEDEV.local test -s MAKEDEV.local && sh MAKEDEV.local


+ 16
- 2
src/etc/etc.vax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.30 2001/06/25 03:20:24 kjell Exp $
# $OpenBSD: MAKEDEV,v 1.31 2001/06/28 02:58:57 kjc Exp $
# $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $ # $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $
# #
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@ -62,6 +62,7 @@
# uk* SCSI unknown # uk* SCSI unknown
# ch* SCSI changer # ch* SCSI changer
# *random Random number generator # *random Random number generator
# altq ALTQ control interface
# #
PATH=/sbin:/usr/sbin:/bin:/usr/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin
set -A cnvtbl 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v set -A cnvtbl 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v
@ -71,7 +72,7 @@ do
case $i in case $i in
all) all)
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random altq
sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 pf tun0 tun1 sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 pf tun0 tun1
sh $0 mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0 sh $0 mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 hd0 hd1 hd2 sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 hd0 hd1 hd2
@ -625,6 +626,19 @@ ttyv0)
mv ptyqf ptyv0 mv ptyqf ptyv0
;; ;;
altq)
mkdir -p altq
chmod 755 altq
unit=0
for dev in altq cbq wfq afm fifoq red rio localq hfsc \
cdnr blue priq; do
rm -f altq/$dev
mknod altq/$dev c 75 $unit
chmod 644 altq/$dev
unit=$(($unit + 1))
done
;;
local) local)
umask 0 umask 0
sh $0.local all sh $0.local all


Loading…
Cancel
Save