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