|
|
@ -1,7 +1,6 @@ |
|
|
|
|
|
|
|
#!/bin/sh - |
|
|
|
# |
|
|
|
# $OpenBSD: MAKEDEV,v 1.7 2001/09/04 20:49:08 todd Exp $ |
|
|
|
# $OpenBSD: MAKEDEV,v 1.8 2001/09/04 21:25:17 todd Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> |
|
|
|
# All rights reserved. |
|
|
@ -279,14 +278,13 @@ pty*) |
|
|
|
M pty$nam c 21 $(($off+$n)) $mod $grp |
|
|
|
n=$(($n+1)) |
|
|
|
done;; |
|
|
|
bwtwo*) M bwtwo$U c 27 $U 666;; |
|
|
|
cgthree*) M cgthree$U c 55 $U 666;; |
|
|
|
cgsix*) M cgsix$U c 67 $U 666;; |
|
|
|
cgfourteen*) M cgfourteen$U c 99 $U 666;; |
|
|
|
tcx*) M tcx$U c 109 $U 666;; |
|
|
|
bwtwo*)M bwtwo$U c 27 $U 666;; |
|
|
|
cgthree*)M cgthree$U c 55 $U 666;; |
|
|
|
cgsix*)M cgsix$U c 67 $U 666;; |
|
|
|
cgfourteen*)M cgfourteen$U c 99 $U 666;; |
|
|
|
tcx*)M tcx$U c 109 $U 666;; |
|
|
|
fd) |
|
|
|
RMlist="mkdir -p fd;$RMlist" |
|
|
|
n=0 |
|
|
|
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";; |
|
|
|
st*) |
|
|
@ -344,7 +342,7 @@ rd*) |
|
|
|
vnd*) |
|
|
|
dodisk vnd $U 8 110 $U 0 |
|
|
|
dodisk svnd $U 8 110 $U 128;; |
|
|
|
uk*) M uk$U c 60 $U 640 operator;; |
|
|
|
uk*)M uk$U c 60 $U 640 operator;; |
|
|
|
ss*) |
|
|
|
M ss$U c 59 $U 440 operator |
|
|
|
rm -f scan$U |
|
|
@ -360,9 +358,9 @@ st*) |
|
|
|
done;; |
|
|
|
ses*) |
|
|
|
M ses$U c 4 $U 640 operator;; |
|
|
|
ch*) M ch$U c 19 $U 660 operator;; |
|
|
|
ch*)M ch$U c 19 $U 660 operator;; |
|
|
|
lkm)M lkm c 112 0 640 kmem;; |
|
|
|
xfs*) M xfs$U c 51 $U 600;; |
|
|
|
xfs*)M xfs$U c 51 $U 600;; |
|
|
|
*random) |
|
|
|
n=0 |
|
|
|
for pre in " " s u p a |
|
|
@ -376,8 +374,7 @@ 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;; |
|
|
|
pf*)M pf$U c 73 $U 600;; |
|
|
|
altq) |
|
|
|
RMlist="mkdir -p altq;$RMlist" |
|
|
|
for d in altq cbq wfq afm fifoq red rio localq hfsc cdnr blue priq; do |
|
|
|