Browse Source

Add the pf device for the shiny new packet filter

OPENBSD_3_0
kjell 23 years ago
parent
commit
c67c21e5e5
18 changed files with 163 additions and 37 deletions
  1. +9
    -2
      src/etc/etc.alpha/MAKEDEV
  2. +9
    -2
      src/etc/etc.amiga/MAKEDEV
  3. +9
    -2
      src/etc/etc.arc/MAKEDEV
  4. +9
    -2
      src/etc/etc.arm32/MAKEDEV
  5. +9
    -2
      src/etc/etc.atari/MAKEDEV
  6. +9
    -2
      src/etc/etc.hp300/MAKEDEV
  7. +9
    -2
      src/etc/etc.hppa/MAKEDEV
  8. +9
    -2
      src/etc/etc.i386/MAKEDEV
  9. +9
    -2
      src/etc/etc.mac68k/MAKEDEV
  10. +10
    -3
      src/etc/etc.mvme68k/MAKEDEV
  11. +9
    -2
      src/etc/etc.mvme88k/MAKEDEV
  12. +9
    -2
      src/etc/etc.pc532/MAKEDEV
  13. +9
    -2
      src/etc/etc.pmax/MAKEDEV
  14. +9
    -2
      src/etc/etc.powerpc/MAKEDEV
  15. +9
    -2
      src/etc/etc.sparc/MAKEDEV
  16. +9
    -2
      src/etc/etc.sun3/MAKEDEV
  17. +9
    -2
      src/etc/etc.vax/MAKEDEV
  18. +9
    -2
      src/etc/etc.wgrisc/MAKEDEV

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

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.55 2001/06/22 21:17:35 brad Exp $
# $OpenBSD: MAKEDEV,v 1.56 2001/06/24 23:35:56 kjell 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.
@ -157,7 +157,7 @@ all)
sh $this ccd0 ccd1 ccd2 ccd3 wd0 wd1 wd2 wd3
sh $this raid0 raid1 raid2 raid3
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2 tun3
sh $this pf tun0 tun1 tun2 tun3
sh $this ttyB0 ttyB1 tty00 tty01 lkm
sh $this mmclock lpa0 lpt0 random
sh $this uk0 uk1 ss0 ss1
@ -481,6 +481,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
rm -f tun$unit
mknod tun$unit c 7 $unit


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

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.47 2001/05/30 02:11:12 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.48 2001/06/24 23:35:57 kjell Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -169,7 +169,7 @@ all)
sh $this view00 view01 view02 view03 view04 view05 pty0 pty1
sh $this lpa0 lpa1 lpt0 lpt1 lpt2
sh $this ccd0 ccd1 ccd2 ccd3 wd0 wd1 ch0 uk0 uk1
sh $this tun0 tun1 par0 lkm ss0 random audio0 xfs0 local
sh $this pf tun0 tun1 par0 lkm ss0 random audio0 xfs0 local
;;
floppy|ramdisk)
@ -576,6 +576,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
ttyB*)
unit=`expr $i : '....\(.*\)'`
rm -f ttyB$unit cuaB$unit


+ 9
- 2
src/etc/etc.arc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.35 2001/05/30 02:11:13 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.36 2001/06/24 23:35:58 kjell Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -122,7 +122,7 @@ all)
sh $this ccd0 ccd1 ccd2 xfs0
sh $this vnd0 vnd1 vnd2 vnd3 tty00 tty01 tty02 tty03 pty0 pty1
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2
sh $this pf tun0 tun1 tun2
sh $this ttyC0 lpt0 pms0 random uk0 uk1 local joy0 joy1
;;
@ -236,6 +236,13 @@ bpf*|tun*)
chown root.wheel $name$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
rd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
mknod rd${unit}a b 8 `expr $unit '*' 16 + 0`


+ 9
- 2
src/etc/etc.arm32/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.17 2000/03/22 07:34:28 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.18 2001/06/24 23:35:59 kjell Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -99,7 +99,7 @@ all)
sh $this st0 st1 ch0 cd0 cd1 vnd0 vnd1 ccd0 ccd1 uk0 uk1 ss0 xfs0
sh $this ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7 ttyv8 ttyv9
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this lpa0 lpt0 tun0 tun1 tun2 random
sh $this lpa0 lpt0 pf tun0 tun1 tun2 random
sh $this beep lkm quadmouse local cpu0 cpu1 cpu2 cpu3 cpu4 cpu5
;;
@ -360,6 +360,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


+ 9
- 2
src/etc/etc.atari/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.21 2001/01/28 23:31:28 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.22 2001/06/24 23:36:00 kjell Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/27 14:27:53 leo Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -97,7 +97,7 @@ all)
sh MAKEDEV vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0
sh MAKEDEV vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 ccd0 ccd1 ccd2 ccd3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 lkm ser02 mdm02 lpt0 random uk0 uk1 ss0 local
sh MAKEDEV pf tun0 tun1 lkm ser02 mdm02 lpt0 random uk0 uk1 ss0 local
;;
floppy)
@ -451,6 +451,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.32 2001/05/30 02:11:15 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.33 2001/06/24 23:36:00 kjell Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -102,7 +102,7 @@ all)
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 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV local
;;
@ -189,6 +189,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.4 2001/05/30 02:11:16 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.5 2001/06/24 23:36:01 kjell Exp $
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
#
# Device "make" file. Valid arguments:
@ -105,7 +105,7 @@ all)
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
sh MAKEDEV hil com0 com1 com2 com3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0
sh MAKEDEV local
;;
@ -181,6 +181,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=${i##*[a-z]}
rm -f tun$unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.99 2001/06/24 04:23:50 matthieu Exp $
# $OpenBSD: MAKEDEV,v 1.100 2001/06/24 23:36:02 kjell Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -190,7 +190,7 @@ all)
sh $this ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9
sh $this ttyCa ttyCb
sh $this wscons
sh $this tun0 tun1 tun2
sh $this pf tun0 tun1 tun2
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this speaker lkm audio0 joy0 joy1 apm local
sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0
@ -572,6 +572,13 @@ bpf*|tun[0-9]*)
chown root.wheel $name$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
speaker) # (XXX - installed)
rm -f speaker
mknod speaker c 27 0


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.32 2001/05/30 02:11:19 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.33 2001/06/24 23:36:03 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -139,7 +139,7 @@ all)
sh $this adb asc0 grf0 grf1 grf2 grf3 ttye0
sh $this tty00 tty01 pty0
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2 tun3
sh $this pf tun0 tun1 tun2 tun3
sh $this lkm
sh $this random
sh $this uk0 uk1
@ -421,6 +421,13 @@ bpf*)
chown root.wheel bpf${unit}
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@ -93,7 +93,7 @@ all)
sh MAKEDEV vnd0 vnd1 pty0 cd0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
#sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV tun0 tun1 lkm local
sh MAKEDEV pf tun0 tun1 lkm local
sh MAKEDEV sram0 nvram0 flash0 vmel0 vmes0
#sh MAKEDEV lp0 lptwo0
sh MAKEDEV random
@ -398,6 +398,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.11 2001/05/30 02:11:21 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.12 2001/06/24 23:36:06 kjell Exp $
# $NetBSD: MAKEDEV,v 1.5 1997/01/01 23:46:23 pk Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -80,7 +80,7 @@ all)
sh $this vnd0 vnd1 pty0 cd0
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
#sh $this ccd0 ccd1 ccd2 ccd3
sh $this tun0 tun1 lkm local
sh $this pf tun0 tun1 lkm local
sh $this sram0 nvram0 flash0 vmel0 vmes0
#sh $this lp0 lptwo0
sh $this random
@ -287,6 +287,13 @@ lpt*|lpa*)
chown root.wheel $name$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
bpf*|tun*)
case $i in
bpf*) name=bpf; unit=${i#bpf}; chr=22;;


+ 9
- 2
src/etc/etc.pc532/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.20 2001/05/30 02:11:22 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.21 2001/06/24 23:36:07 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -69,7 +69,7 @@ all)
sh MAKEDEV std fd sd0 sd1 sd2 st0 st1 cd0 cd1
sh MAKEDEV tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 lkm random
sh MAKEDEV pf tun0 tun1 tun2 lkm random
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV uk0 uk1
sh MAKEDEV ss0
@ -282,6 +282,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit


+ 9
- 2
src/etc/etc.pmax/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.36 2001/05/30 02:11:23 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.37 2001/06/24 23:36:07 kjell Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -113,7 +113,7 @@ all)
sh $this rz8 rz9 rz10 rz11 rz12 rz13 rz14 tz2 tz3
sh $this pty0 vnd0 vnd1 vnd2 vnd3 ccd0 ccd1 ccd2 ccd3
# sh $this tun0 tun1 tun2 tun3
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pf
# sh $this lkm local
sh $this xfs0
sh $this fb0 fb1 fb2
@ -172,6 +172,13 @@ tz*)
umask 77
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
bpf*)
unit=`expr $i : 'bpf\(.*\)'`
rm -f bpf$unit


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

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.48 2001/06/24 04:23:51 matthieu Exp $
# $OpenBSD: MAKEDEV,v 1.49 2001/06/24 23:36:08 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -157,7 +157,7 @@ all)
sh $this ttyC0 ttyCcfg
sh $this tty00 tty01 tty02 tty03 pty0 pty1
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2 tun3
sh $this pf tun0 tun1 tun2 tun3
sh $this audio0
sh $this random uk0 uk1 ss0 ss1
sh $this wscons
@ -526,6 +526,13 @@ bpf*)
chown root.wheel bpf${unit}
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=${i##*[a-z]}
rm -f tun$unit


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

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.66 2001/05/30 02:11:25 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.67 2001/06/24 23:36:09 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -201,7 +201,7 @@ all)
sh $this uk0 uk1
sh $this ss0 ss1
sh $this ses0
sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio0 tun0 tun1 tun2 tun3
sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio0 pf tun0 tun1 tun2 tun3
sh $this ccd0 ccd1 ccd2 ccd3
sh $this raid0 raid1 raid2 raid3
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
@ -335,6 +335,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
rm -f tun$unit
mknod tun$unit c 111 $unit


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

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.34 2001/05/30 02:11:26 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.35 2001/06/24 23:36:10 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -183,7 +183,7 @@ all)
sh $this cd0 st0 st1 rd0
sh $this uk0 uk1
sh $this ss0 ss1
sh $this pty0 vnd0 vnd1 vnd2 vnd3 tun0 tun1 tun2 tun3
sh $this pty0 vnd0 vnd1 vnd2 vnd3 pf tun0 tun1 tun2 tun3
sh $this ccd0 ccd1 ccd2 ccd3
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this bwtwo0 cgtwo0 cgfour0
@ -271,6 +271,13 @@ bpf*)
chown root.wheel bpf$unit
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
rm -f tun$unit
mknod tun$unit c 24 $unit


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.28 2001/05/30 02:11:27 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.29 2001/06/24 23:36:11 kjell Exp $
# $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@ -72,7 +72,7 @@ case $i in
all)
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random
sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 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 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 hd0 hd1 hd2
sh $0 dz0 dl0 dhu0 rx0 rx1 raid0 raid1 raid2 raid3
@ -591,6 +591,13 @@ qd*)
mknod qd$unit c 40 $(($unit * 4 + 2))
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
tun*)
unit=${i#tun}
rm -f tun$unit


+ 9
- 2
src/etc/etc.wgrisc/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.10 2000/03/22 07:34:30 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.11 2001/06/24 23:36:12 kjell Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@ -44,7 +44,7 @@ case $i in
all)
sh MAKEDEV std fd sd0 sd1 sd2 st0 cd0 tty00 tty01 pty0 pty1
sh MAKEEDV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEEDV pf bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV pms0 random local
;;
@ -100,6 +100,13 @@ st*)
umask 77
;;
pf)
rm -f pf
mknod pf c 73 0
chown root.wheel pf
chmod 600 pf
;;
bpf*|tun*)
unit=`expr $i : '...\(.*\)'`
case $i in


Loading…
Cancel
Save