|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.3 2001/09/04 18:53:36 todd Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.4 2001/09/04 19:14:04 todd Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> |
|
|
# Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
@ -61,21 +61,23 @@ |
|
|
# pty* set of 16 master and slave pseudo terminals |
|
|
# pty* set of 16 master and slave pseudo terminals |
|
|
# |
|
|
# |
|
|
# Special purpose devices: |
|
|
# Special purpose devices: |
|
|
|
|
|
# ses* SES/SAF-TE SCSI devices |
|
|
# fd makes fd/* for the fdescfs |
|
|
# fd makes fd/* for the fdescfs |
|
|
# bwtwo* |
|
|
# bwtwo* |
|
|
|
|
|
# xfs* XFS filesystem devices |
|
|
# cgthree* |
|
|
# cgthree* |
|
|
|
|
|
# ss* SCSI scanners |
|
|
|
|
|
# uk* SCSI Unknown device |
|
|
|
|
|
# audio* audio device |
|
|
# cgsix* |
|
|
# cgsix* |
|
|
# cgfourteen* |
|
|
|
|
|
# bpf* Berkeley Packet Filter |
|
|
|
|
|
# pf* Packet Filter |
|
|
# pf* Packet Filter |
|
|
# altq/ ALTQ control interface |
|
|
# altq/ ALTQ control interface |
|
|
# lkm loadable kernel modules interface |
|
|
|
|
|
# audio* audio device |
|
|
|
|
|
|
|
|
# cgfourteen* |
|
|
|
|
|
# tcx* |
|
|
|
|
|
# bpf* Berkeley Packet Filter |
|
|
# tun* network tunnel driver |
|
|
# tun* network tunnel driver |
|
|
|
|
|
# lkm loadable kernel modules interface |
|
|
# *random inkernal random data source |
|
|
# *random inkernal random data source |
|
|
# uk* SCSI Unknown device |
|
|
|
|
|
# ss* SCSI scanners |
|
|
|
|
|
# ses* SES/SAF-TE SCSI devices |
|
|
|
|
|
# |
|
|
# |
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
|
|
T=$0 |
|
|
T=$0 |
|
@ -274,6 +276,7 @@ bwtwo*) M bwtwo$U c 27 $U 666;; |
|
|
cgthree*) M cgthree$U c 55 $U 666;; |
|
|
cgthree*) M cgthree$U c 55 $U 666;; |
|
|
cgsix*) M cgsix$U c 67 $U 666;; |
|
|
cgsix*) M cgsix$U c 67 $U 666;; |
|
|
cgfourteen*) M cgfourteen$U c 99 $U 666;; |
|
|
cgfourteen*) M cgfourteen$U c 99 $U 666;; |
|
|
|
|
|
tcx*) M tcx$U c 109 $U 666;; |
|
|
fd) |
|
|
fd) |
|
|
RMlist="mkdir -p fd;$RMlist" |
|
|
RMlist="mkdir -p fd;$RMlist" |
|
|
n=0 |
|
|
n=0 |
|
@ -354,6 +357,7 @@ ch*) M ch$U c 19 $U 660 operator;; |
|
|
lkm) |
|
|
lkm) |
|
|
M lkm c 112 0 640 kmem |
|
|
M lkm c 112 0 640 kmem |
|
|
;; |
|
|
;; |
|
|
|
|
|
xfs*) M xfs$U c 51 $U 600;; |
|
|
*random) |
|
|
*random) |
|
|
n=0 |
|
|
n=0 |
|
|
for pre in " " s u p a |
|
|
for pre in " " s u p a |
|
|