|
|
@ -1,6 +1,7 @@ |
|
|
|
|
|
|
|
#!/bin/sh - |
|
|
|
# |
|
|
|
# $OpenBSD: MAKEDEV,v 1.2 2001/09/04 17:53:16 todd Exp $ |
|
|
|
# $OpenBSD: MAKEDEV,v 1.3 2001/09/04 18:53:36 todd Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> |
|
|
|
# All rights reserved. |
|
|
@ -66,6 +67,8 @@ |
|
|
|
# cgsix* |
|
|
|
# cgfourteen* |
|
|
|
# bpf* Berkeley Packet Filter |
|
|
|
# pf* Packet Filter |
|
|
|
# altq/ ALTQ control interface |
|
|
|
# lkm loadable kernel modules interface |
|
|
|
# audio* audio device |
|
|
|
# tun* network tunnel driver |
|
|
@ -178,7 +181,7 @@ all) |
|
|
|
R vnd0 vnd1 ccd0 ccd1 ccd2 ccd3 |
|
|
|
R raid0 raid1 raid2 raid3 |
|
|
|
R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 |
|
|
|
R tun0 tun1 tun2 random ses0 uk0 uk1 ss0 ss1 |
|
|
|
R pf altq tun0 tun1 tun2 random ses0 uk0 uk1 ss0 ss1 |
|
|
|
R fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H |
|
|
|
R fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H |
|
|
|
R lkm audio0 local |
|
|
@ -272,7 +275,7 @@ cgthree*) M cgthree$U c 55 $U 666;; |
|
|
|
cgsix*) M cgsix$U c 67 $U 666;; |
|
|
|
cgfourteen*) M cgfourteen$U c 99 $U 666;; |
|
|
|
fd) |
|
|
|
mkdir -p fd |
|
|
|
RMlist="mkdir -p fd;$RMlist" |
|
|
|
n=0 |
|
|
|
while [ $n -lt 64 ];do M fd/$n c 24 $n;n=$(( $n + 1 ));done |
|
|
|
MKlist="$MKlist;chmod 555 fd";; |
|
|
@ -364,6 +367,14 @@ audio*) |
|
|
|
M mixer$u c 69 $(( $U + 16 )) |
|
|
|
M audio$u c 69 $(( $U + 128 )) |
|
|
|
M audioctl$u c 69 $(( $U + 192 ));; |
|
|
|
pf*) |
|
|
|
M pf c 73 0 600;; |
|
|
|
altq) |
|
|
|
RMlist="mkdir -p altq;$RMlist" |
|
|
|
for d in altq cbq wfq afm fifoq red rio localq hfsc cdnr blue priq; do |
|
|
|
M altq/$d c 74 $U 644 |
|
|
|
U=$(( $U + 1 )) |
|
|
|
done;; |
|
|
|
bpf*) |
|
|
|
M bpf$U c 105 $U 600;; |
|
|
|
tun*) |
|
|
|