Browse Source

Regen

OPENBSD_3_7
miod 20 years ago
parent
commit
a97609a2f0
1 changed files with 61 additions and 46 deletions
  1. +61
    -46
      src/etc/etc.sgi/MAKEDEV

+ 61
- 46
src/etc/etc.sgi/MAKEDEV View File

@ -3,7 +3,7 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.sgi/MAKEDEV.md,v 1.5 2004/09/21 07:55:48 miod Exp
# OpenBSD: etc.sgi/MAKEDEV.md,v 1.6 2004/09/22 14:40:24 miod Exp
# OpenBSD: MAKEDEV.common,v 1.12 2004/08/19 07:05:20 miod Exp # OpenBSD: MAKEDEV.common,v 1.12 2004/08/19 07:05:20 miod Exp
# OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp
# OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp
@ -26,20 +26,19 @@
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
# all makes all known devices, including local devices. # all makes all known devices, including local devices.
# Tries to make the ``standard'' number of each type. # Tries to make the ``standard'' number of each type.
# ramdisk Ramdisk kernel devices
# std Standard devices # std Standard devices
# fd fd/* nodes for fdescfs
# local Configuration specific devices # local Configuration specific devices
# ramdisk Ramdisk kernel devices
# Tapes:
# st* SCSI tape drives
# Disks: # Disks:
# wd* "winchester" disk drives (ST506, IDE, ESDI, RLL, ...)
# sd* SCSI disks, including flopticals
# ccd* Concatenated disk devices
# cd* ATAPI and SCSI CD-ROM drives # cd* ATAPI and SCSI CD-ROM drives
# ch* SCSI media changers
# vnd* "file" pseudo-disk devices
# rd* "rd" pseudo-disks # rd* "rd" pseudo-disks
# ccd* Concatenated disk devices
# sd* SCSI disks, including flopticals
# vnd* "file" pseudo-disk devices
# wd* "winchester" disk drives (ST506, IDE, ESDI, RLL, ...)
# Tapes:
# ch* SCSI media changers
# st* SCSI tape drives
# Terminal ports: # Terminal ports:
# tty[0-7][0-9a-f] NS16x50 serial ports # tty[0-7][0-9a-f] NS16x50 serial ports
# Pseudo terminals: # Pseudo terminals:
@ -55,11 +54,15 @@
# wsmouse* wscons mice # wsmouse* wscons mice
# Special purpose devices: # Special purpose devices:
# bpf* Berkeley Packet Filter # bpf* Berkeley Packet Filter
# tun* Network tunnel driver
# fd fd/* nodes for fdescfs
# pci PCI bus device
# pf* Packet Filter
# *random In-kernel random data source # *random In-kernel random data source
# uk* Unknown SCSI devices
# ss* SCSI scanners # ss* SCSI scanners
# pf* Packet Filter
# systrace* System call tracing device
# tun* Network tunnel driver
# uk* Unknown SCSI devices
# xfs* XFS filesystem node
PATH=/sbin:/usr/sbin:/bin:/usr/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin
T=$0 T=$0
@ -206,8 +209,20 @@ std)
M klog c 6 0 600 M klog c 6 0 600
;; ;;
pf*)
M pf c 31 0 600
xfs*)
M xfs$U c 51 $U 600
;;
uk*)
M uk$U c 32 $U 640 operator
;;
tun*)
M tun$U c 40 $U 600
;;
systrace)
M systrace c 50 0 644
;; ;;
ss*) ss*)
@ -218,10 +233,6 @@ ss*)
MKlist="$MKlist;umask 77;ln -s ss$U scan$U" MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
;; ;;
uk*)
M uk$U c 32 $U 640 operator
;;
*random) *random)
n=0 n=0
for pre in " " s u p a for pre in " " s u p a
@ -231,8 +242,18 @@ uk*)
done done
;; ;;
tun*)
M tun$U c 40 $U 600
pf*)
M pf c 31 0 600
;;
pci)
M pci c 29 0 600
;;
fd)
RMlist="mkdir -p fd;$RMlist" n=0
while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done
MKlist="$MKlist;chmod 555 fd"
;; ;;
bpf*) bpf*)
@ -306,8 +327,18 @@ tty[0-7][0-9a-f])
M cua$U c 17 $(($o+128)) 660 dialer uucp M cua$U c 17 $(($o+128)) 660 dialer uucp
;; ;;
rd*)
dodisk2 rd $U 8 22 $U 0
st*)
n=$(($U*16))
for pre in " " n e en
do
M ${pre}st$U b 10 $n 660 operator
M ${pre}rst$U c 10 $n 660 operator
n=$(($n+1))
done
;;
ch*)
M ch$U c 36 $U 660 operator
;; ;;
vnd*) vnd*)
@ -315,22 +346,16 @@ vnd*)
dodisk svnd $U 2 11 $U 2048 dodisk svnd $U 2 11 $U 2048
;; ;;
ch*)
M ch$U c 36 $U 660 operator
rd*)
dodisk2 rd $U 8 22 $U 0
;; ;;
cd*) cd*)
dodisk2 cd $U 3 8 $U 0 dodisk2 cd $U 3 8 $U 0
;; ;;
st*)
n=$(($U*16))
for pre in " " n e en
do
M ${pre}st$U b 10 $n 660 operator
M ${pre}rst$U c 10 $n 660 operator
n=$(($n+1))
done
local)
test -s $T.local && sh $T.local
;; ;;
ramdisk) ramdisk)
@ -338,22 +363,12 @@ ramdisk)
R sd3 sd4 bpf0 std R sd3 sd4 bpf0 std
;; ;;
local)
test -s $T.local && sh $T.local
;;
fd)
RMlist="mkdir -p fd;$RMlist" n=0
while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done
MKlist="$MKlist;chmod 555 fd"
;;
all) all)
R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4
R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4
R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 ss0 ss1 ch0 ptm
R local wscons uk0 random tty00 tty01 tty02 tty03 pf wd0 wd1
R wd2 wd3 std st0 st1 fd
R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 xfs0 ss0 ss1 ch0 ptm
R local wscons pci uk0 random tty00 tty01 tty02 tty03 pf
R systrace wd0 wd1 wd2 wd3 std st0 st1 fd
;; ;;
wd*|sd*|ccd*) wd*|sd*|ccd*)


Loading…
Cancel
Save