|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.48 2002/06/24 10:43:31 hugh Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.49 2002/12/05 03:00:27 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 |
|
@ -61,7 +61,6 @@ |
|
|
# uk* SCSI unknown |
|
|
# uk* SCSI unknown |
|
|
# ch* SCSI changer |
|
|
# ch* SCSI changer |
|
|
# *random Random number generator |
|
|
# *random Random number generator |
|
|
# altq ALTQ control interface |
|
|
|
|
|
# systrace* system call tracing device |
|
|
# systrace* system call tracing device |
|
|
# |
|
|
# |
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
|
@ -72,7 +71,7 @@ do |
|
|
case $i in |
|
|
case $i in |
|
|
|
|
|
|
|
|
all) |
|
|
all) |
|
|
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random altq |
|
|
|
|
|
|
|
|
sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random |
|
|
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 |
|
@ -654,19 +653,6 @@ qv0) |
|
|
mknod mouse c 40 2 |
|
|
mknod mouse c 40 2 |
|
|
;; |
|
|
;; |
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
;; |
|
|
|
|
|
|
|
|
|
|
|
systrace) |
|
|
systrace) |
|
|
rm -f systrace |
|
|
rm -f systrace |
|
|
mknod systrace c 49 0 |
|
|
mknod systrace c 49 0 |
|
|