MD part of unified MAKEDEV

this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
This commit is contained in:
jdolecek 2003-10-15 19:13:32 +00:00
parent 6b5eef9a33
commit 7126da0813
51 changed files with 1757 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons
makedev wd0 wd1 sd0 sd1
makedev wskbd0 wsmouse0
makedev com0 lpt0 arcpp0
;;
ramdisk)
makedev std wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev opty ttyE0 wskbd0 ttyEcfg
makedev cd0 cd1
;;

View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0
makedev lpa0 lpt0
makedev beep qms0 pms0
makedev usbs isdns
makedev mouse-qms0 openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
makedev nsmb
;;

View File

@ -0,0 +1,27 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 sd4
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev ld0 ld1 ld2 ld3
makedev ttyC0 ttyC1
makedev lpa0 lpt0 audio wd0 wd1 fd0 fd1
makedev audio0 audio1 audio2 audio3
makedev satlink0 speaker mlx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev usbs isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev ttyCZ0 ttyCY0
makedev altq
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev wd0 wd1 fd0 fd1
makedev ttyC0 ttyC1 ttyE0 ttyE1 wsmouse0 wskbd0 ttyEcfg
;;

View File

@ -0,0 +1,42 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 sd4
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev ld0 ld1 ld2 ld3
makedev ttyB0 ttyB1 ttyC0 ttyC1
makedev lpa0 lpt0 audio wd0 wd1 fd0 fd1
makedev audio0 audio1 audio2 audio3
makedev satlink0 speaker mlx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev usbs isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev ttyCZ0 ttyCY0
makedev agp0
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev bktr
makedev radio
makedev kttcp
makedev nsmb
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev wd0 wd1 fd0 fd1
makedev ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 wsmouse0 wskbd0 ttyEcfg
;;
ttyB*)
case $i in
ttyB*) name=ttyB; unit=${i#ttyB}; major=15; minor=$(($unit * 2));;
esac
rm -f $name$unit
mknod $name$unit c $major $minor
chown uucp $name$unit
;;

View File

@ -0,0 +1,46 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
# As of 2003-04-17, the "init" case must not create more than 890 entries.
init)
makedev std wscons wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 mcd0 vnd0
makedev bpf0
makedev ccd0 md0 ch0 random
makedev cgd0 cgd1
makedev iop0 mlx0 mly0 dpti0 dpt0 twe0
makedev ed0 ed1
makedev raid0
makedev ld0 ld1 ld2 ld3
makedev usbs
makedev ipty
makedev local
;;
all_md)
makedev init
makedev tty2 tty3
makedev lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2
makedev ss0 uk0 uk1
makedev speaker joy0 joy1
makedev apm satlink0
makedev audio
makedev radio
makedev isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev bktr
makedev ttyCZ0 ttyCY0
makedev agp0
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev cir0 cir1 irframe0 irframe1
makedev dmoverio
makedev kttcp
makedev nsmb
;;

View File

@ -0,0 +1,65 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 fd2 fd3 kbd mouse0 mouse1 par0
makedev lpt0 lpt1 lpt2 lpt3
makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
makedev tty00 ttyA0 ttyA1
makedev ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 ttyB6 ttyB7
makedev ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7
makedev view00 view01 view02 view03 view04 view05
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
makedev ss0 ch0 uk0 uk1
makedev audio0 audio1 audio2 audio3
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
;;
floppy)
makedev std fd0 fd1 fd2 fd3 kbd opty tun0 tun1
makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
makedev tty00 ttyA0 ttyB0 ttyC0
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
makedev cd0 cd1 cd2 st0 wd0 wd1 md0
;;
ttyA*|ttyB*)
case $i in
ttyA*) name=ttyA; mname=ttyAm; unit=${i#ttyA}; chr=17; mult=1; add=128;;
ttyB*) name=ttyB; mname=ttyBm; unit=${i#ttyB}; chr=31; mult=2; add=1;;
esac
rm -f $name$unit $mname$unit
rm -f ttyM$unit
mknod $name$unit c $chr $(($unit * $mult))
mknod $mname$unit c $chr $(($unit * $mult + $add))
chown uucp $name$unit $mname$unit
;;
grf*)
unit=${i#grf}; chr=10
rm -f grf$unit
case $unit in
0|1|2|3|4|5|6|7)
mknod grf$unit c $chr $unit
chmod 666 grf$unit
;;
*)
echo bad unit for grf in: $i
;;
esac
# for those that need it, also make overlay and image devices:
rm -f grfov$unit grfim$unit
case $unit in
4)
mknod grfov$unit c $chr $(($unit + 16))
chmod 666 grfov$unit
mknod grfim$unit c $chr $(($unit + 32))
chmod 666 grfim$unit
;;
esac
;;

29
etc/etc.arc/MAKEDEV.conf Normal file
View File

@ -0,0 +1,29 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 sd4
makedev st0 st1 ch0 cd0 cd1 vnd0 vnd1 vnd2 vnd3
makedev ss0 ss1 uk0 uk1
makedev tty00 tty01 tty02 tty03
makedev wskbd0 wsmouse0 lpt0 wd0 wd1 wd2 wd3 fd0 fd1
makedev ttyC0 pms0 joy0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1
makedev ccd0 ccd1 md0 wd0 wd1 fd0 fd1
makedev tty00 tty01 ttyE0 ttyE1 wsmouse0 wskbd0 ttyEcfg
makedev ttyC0
;;
ttyC)
name=ttyC; unit=${i#ttyC}; chr=14
rm -f $name$unit
mknod $name$unit c $chr $unit
;;

View File

@ -0,0 +1,36 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev st0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 grf0 grf1
makedev grf2 grf3 grf4 grf5 mouse0 mouse1 rtc etvme leo0
makedev kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
makedev view00 view01 view02 view03 view04 view05
makedev vnd5 vnd6 cd0 fd0 fd1 fd2 fd3
makedev ss0 ch0 uk0 uk1 wd0 wd1
makedev ttyA0 ttyA1 ttyB0 lpt0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev audio audio0 audio1 audio2 audio3
makedev isdns
makedev wscons wskbd0 ttyEcfg
;;
floppy)
makedev std st0 ttye0 ttye1 ttye2 grf0 grf1 grf2 kbd tun0 tun1
makedev sd0 sd1 sd2 sd3 sd4 wd0 wd1 cd0 fd0 md0 md1 rtc
makedev ttyA0 ttyA1 ttyB0 opty
;;
ttyA*|ttyB*)
case $i in
ttyA*) name=tyA; unit=${i#ttyA}; major=7; minor=$(($unit * 16));;
ttyB*) name=tyB; unit=${i#ttyB}; major=35; minor=$unit;;
esac
rm -f t$name$unit d$name$unit
mknod t$name$unit c $major $(($minor + $dialin ))
mknod d$name$unit c $major $(($minor + $dialout ))
chown uucp t$name$unit d$name$unit
;;

View File

@ -0,0 +1,27 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2 ttyv0 tun0 tun1
makedev ss0 ch0 uk0 uk1 ttyCY0
makedev speaker mms0 lms0 audio joy0 joy1 apm satlink0
makedev audio0 audio1 audio2 audio3
makedev ttyv0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 ttyE8
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
;;
floppy)
makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev cd0 cd1 ttyE0 opty
;;
ramdisk)
makedev floppy md0
;;

24
etc/etc.cats/MAKEDEV.conf Normal file
View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0
makedev lpa0 lpt0
makedev usbs isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev pci0 pci1
makedev audio
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
makedev bpf0
;;

View File

@ -0,0 +1,8 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev tty0 tty1
;;

View File

@ -0,0 +1,20 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wd0 wd1 sd0 sd1 sd2 sd3
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev tty00 tty01 tty02 tty03
makedev isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev wd0 wd1 fd0 fd1
makedev tty00
;;

View File

@ -0,0 +1,23 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons gdrom0 maple
makedev scif0 sci0
makedev audio
;;
ramdisk)
makedev std md0 gdrom0
makedev scif0 sci0 opty
makedev ttyE0 ttyEcfg wsmouse0 wskbd0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
;;
maple)
makedev mapleA mapleA1 mapleA2 mapleB mapleB1 mapleB2
makedev mapleC mapleC1 mapleC2 mapleD mapleD1 mapleD2
makedev mmem0 mmem1 mmem2 mmem3 mmem4 mmem5 mmem6 mmem7
makedev mlcd0 mlcd1 mlcd2 mlcd3 mlcd4 mlcd5 mlcd6 mlcd7
;;

View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev lpa0 lpt0
makedev usbs isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev dmoverio
makedev pci0
makedev kttcp
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty
makedev st0 st1 cd0 cd1
;;

View File

@ -0,0 +1,28 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 sd4
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev ld0 ld1 ld2 ld3
makedev tty00 tty01
makedev wskbd0 wsmouse0 lpa0 lpt0 audio wd0 wd1 fd0 fd1
makedev audio0 audio1 audio2 audio3
makedev satlink0 speaker mlx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev usbs isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev ttyCZ0 ttyCY0
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev wd0 wd1 fd0 fd1
makedev tty00 tty01 ttyE0 ttyE1 wsmouse0 wskbd0 ttyEcfg
;;

View File

@ -0,0 +1,25 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1
makedev ss0 ch0 uk0 uk1
makedev mlx0 ld0 ld1 ld2 ld3
makedev tty00 tty01
makedev lpa0 lpa1 lpa2 lpt0 lpt1 lpt2
makedev usbs ttyCZ0 ttyCY0 audio
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev sysmon
makedev bktr
makedev radio
makedev kttcp
;;
ramdisk)
makedev md0
;;

View File

@ -0,0 +1,15 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev fd0
makedev tty0 tty1
;;
ramdisk)
makedev std md0
makedev tty0 tty1 opty
makedev bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
;;

View File

@ -0,0 +1,15 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev fd0
makedev tty0 tty1
;;
ramdisk)
makedev std md0
makedev tty0 tty1 opty
makedev bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
;;

168
etc/etc.hp300/MAKEDEV.conf Normal file
View File

@ -0,0 +1,168 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:32 jdolecek Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev ct0 ct1 rd0 rd1 rd
# makedev wscons # should be after 'std'
makedev sd0 sd1 sd2 cd0 cd1 st0 st1 ch0
makedev hil grf0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 apci0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev ss0 uk0 uk1
;;
ct*)
case $i in
ct*) name=ct; unit=${i#ct}; blk=0; chr=7;;
esac
case $unit in
0|1|2|3|4|5|6|7)
four=$(($unit + 4)) ; eight=$(($unit + 8))
twelve=$(($unit + 12)) ; twenty=$(($unit + 20))
#
# block devices don't work so don't make them
#rm -f ${name}${unit} ${name}${four} ${name}${eight} \
# ${name}${twelve}
#mknod ${name}${unit} b $blk $unit
#mknod ${name}${four} b $blk $four
#mknod ${name}${eight} b $blk $eight
#mknod ${name}${twelve} b $blk $twelve
#ln -fs ${name}{$four} n${name}${unit} ;: sanity w/pdp11 v7
#ln -fs ${name}{$twelve} n${name}${eight} ;: ditto
#chgrp operator ${name}${unit} ${name}${four} ${name}${eight} \
# ${name}${twelve} n${name}${unit} n${name}${eight}
#chmod 660 ${name}${unit} ${name}${four} ${name}${eight} \
# ${name}${twelve} n${name}${unit} n${name}${eight}
#
rm -f r${name}${unit} r${name}${four} r${name}${eight} \
r${name}${twelve}
mknod r${name}${unit} c $chr $unit
mknod r${name}${four} c $chr $four
mknod r${name}${eight} c $chr $eight
mknod r${name}${twelve} c $chr $twelve
ln -fs r${name}${four} nr${name}${unit} ;: sanity w/pdp11 v7
ln -fs r${name}${twelve} nr${name}${eight} ;: ditto
chgrp operator r${name}${unit} r${name}${four} \
r${name}${eight} r${name}${twelve} nr${name}${unit} \
nr${name}${eight}
chmod 660 r${name}${unit} r${name}${four} \
r${name}${eight} r${name}${twelve} nr${name}${unit} \
nr${name}${eight}
;;
*)
echo bad unit for tape in: $1
;;
esac
;;
dca*)
# XXX What about dca cards?
unit=${i#dca}
case $unit in
0)
rm -f tty0
mknod tty0 c 12 0
;;
*)
echo bad unit for dca in: $i
;;
esac
;;
dcm*)
unit=${i#dcm}
case $unit in
0|1|2|3)
eval `echo $unit | awk ' { unit = $1; u = 4 * $1 } END {
for (i = 0; i < 4; i++)
printf("rm -f tty0%x; mknod tty0%x c 15 %d; ",u+i,u+i,u+i); }'`
;;
*)
echo bad unit for dcm in: $i
;;
esac
;;
apci*)
# There exists only one Frodo ASIC per HP9000/400 SPU.
unit=${i#apci}
case $unit in
0)
for i in 0 1 2 3; do
rm -f ttya${i};
mknod ttya${i} c 31 ${i}
done
;;
*)
echo bad unit for apci in: $i
;;
esac
;;
hil)
for unit in 0 1 2 3 4 5 6 7
do
rm -f hil${unit}
mknod hil${unit} c 14 ${unit}
if [ -f /usr/sbin/hilinfo ]
then
case `/usr/sbin/hilinfo -t hil${unit}` in
mouse)
if [ ! -f locator ]
then
ln -fs hil${unit} locator
fi
;;
keyboard)
if [ ! -f keyboard ]
then
ln -fs hil${unit} keyboard
fi
;;
*)
;;
esac
fi
done
if [ ! -f /usr/sbin/hilinfo ]
then
ln -fs hil1 keyboard
ln -fs hil3 locator
fi
chmod 666 hil*
# echo "hil: use $0.hpux to make HP-UX names for devices"
;;

View File

@ -0,0 +1,11 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev pty1 pty2 pty3
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6
makedev cd0 cd1 st0 st1 st2
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;

View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0 ttyS0
makedev lpa0 lpt0 tun0
makedev beep
makedev usbs isdns
makedev openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev apm
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
;;

View File

@ -0,0 +1,28 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16high
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1 tty2
makedev st0 st1 ch0 cd0 cd1
makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1
makedev usbs isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev ttyTX0 ttyTX1 ucbsnd
makedev audio
makedev apm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev pci0
;;
floppy)
makedev std fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1 tty2
makedev st0 st1 cd0 cd1 opty
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,16 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons wd0 wd1 sd0 sd1
makedev scif0 sci0
makedev tty0 tty1 tty2
makedev scsibus0
;;
ramdisk)
makedev std md0
makedev scif0 sci0
;;

55
etc/etc.i386/MAKEDEV.conf Normal file
View File

@ -0,0 +1,55 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16high
MD_DEVICES=
# As of 2003-04-17, the "init" case must not create more than 890 entries.
init)
makedev std wscons wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 mcd0 vnd0
makedev bpf0
makedev ccd0 md0 ch0 random
makedev cgd0 cgd1
makedev iop0 mlx0 mly0 dpti0 dpt0 twe0 icp0
makedev ed0 ed1
makedev raid0
makedev ld0 ld1 ld2 ld3
makedev usbs
makedev ipty
makedev local
;;
all_md)
makedev init
makedev tty2 tty3
makedev lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2
makedev ss0 uk0 uk1
makedev speaker joy0 joy1
makedev apm satlink0
makedev audio
makedev radio
makedev isdns
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev bktr
makedev ttyCZ0 ttyCY0
makedev agp0
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev cir0 cir1 irframe0 irframe1
makedev dmoverio
makedev kttcp
makedev nsmb
;;
floppy)
makedev std wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4 st0 st1
makedev tty0 tty1 tty2 cd0 cd1 mcd0 ttyv0 opty ld0 ld1 ld2 ld3 ed0 ed1
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,20 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev ttya sd0 st0
makedev wskbd wsmouse ttyE0 ttyEcfg
makedev scsibus0
;;
tty[ab])
case $i in
ttya) major=7; minor=0 ;;
ttyb) major=7; minor=1 ;;
esac
rm -f $i
mknod $i c $major $minor
chown uucp $i
;;

View File

@ -0,0 +1,22 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 tty0 tty1
makedev st0 st1 ch0 cd0 cd1 fd0 fd1
makedev ss0 uk0 uk1
makedev ttye0 adb grf0 grf1 grf2 grf3
makedev bpf8 bpf9 bpf10 bpf11
makedev asc0
makedev scsibus0 scsibus1 scsibus2 scsibus3 cfs0
;;
raminst)
makedev std
makedev sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 st0 st1 cd0 cd1 md0
makedev adb grf0 grf1 ttye0
makedev tty0 tty1 opty
makedev bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
;;

View File

@ -0,0 +1,27 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1
makedev ss0 ch0 uk0 uk1
makedev mlx0 ld0 ld1 ld2 ld3
makedev tty00 tty01 tty10
makedev usbs ttyCZ0 ttyCY0 audio
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev nvram apm adb grf0 openfirm
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev sysmon
makedev bktr
makedev radio
makedev kttcp
;;
floppy)
makedev std sd0 sd1 sd2 tty00 tty01 opty
makedev st0 st1 cd0 cd1 wd0 wd1 md0
makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
;;

View File

@ -0,0 +1,20 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev sd0 sd1 sd2 sd3 cd0 st0 st1
makedev tty0 tty1
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
minimal|ramdisk)
makedev std fd
makedev sd0 sd1 sd2 sd3 sd4 st0 st1 ch0 cd0 cd1 ccd0 ccd1
makedev md0 opty tty0 tty1
;;
floppy)
makedev std fd sd0 sd1 cd0 st0 st1 opty tty0 tty1 md0
;;

View File

@ -0,0 +1,23 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 mcd0 lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1
makedev speaker audio joy0 joy1 satlink0
makedev scsibus0 scsibus1
;;
floppy)
makedev std wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev st0 st1 cd0 cd1 mcd0 opty
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,21 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev sd0 sd1 sd2
makedev ttyZ1 ttyZ2 ttyZ3 ttyC1 ttyC2 ttyC3
makedev st0 st1 ch0 cd0 cd1 lpa0 lpt0
makedev ss0 ch0 uk0 uk1
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
ttyC*)
# on-board mvme68k serial ports
unit=${i#????}
rm -f ttyC$unit
mknod ttyC$unit c %clmppc_chr% $(($unit + $dialin ))
mknod dtyC$unit c %clmppc_chr% $(($unit + $dialout))
chown uucp ttyC$unit
;;

View File

@ -0,0 +1,28 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1
makedev lpt0 lpt1 lpt2 ttyv0
makedev ss0 ch0 uk0 uk1
makedev speaker audio joy0 joy1
makedev audio0 audio1 audio2 audio3
makedev ttyv0 ttyCY0
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
;;
floppy)
makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev cd0 cd1 ttyE0 opty
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0
makedev lpa0 lpt0
makedev beep
makedev usbs isdns
makedev openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
;;

View File

@ -0,0 +1,16 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev sd0 sd1 sd2 sd3 cd0 st0 st1
makedev tty0 tty1
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev raid0 raid1 raid2 raid3
;;
floppy)
makedev std sd0 sd1 sd2 sd3 cd0 st0 st1
makedev opty tty0 tty1 md0
;;

View File

@ -0,0 +1,15 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 cd0 st0 st1
makedev tty0 tty1
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
floppy)
makedev std sd0 sd1 sd2 sd3 cd0 st0 opty tty0 tty1 md0
makedev ttyEcfg ttyE0 wskbd0 wskbd
;;

View File

@ -0,0 +1,18 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 sd3 tty0 tty1
makedev st0 st1 ch0 cd0 cd1
makedev ss0 uk0 uk1
makedev bpf8 bpf9 bpf10 bpf11
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
raminst)
makedev std
makedev sd0 sd1 sd2 sd3 st0 st1 cd0 cd1
makedev tty0 tty1 opty
;;

View File

@ -0,0 +1,23 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1
makedev ss0 ch0 uk0 uk1
makedev ofdisk0 ofdisk1 ofdisk2 ofdisk3
makedev tty00 tty01 tty10 pty1 pty2 pty3
makedev usbs ttyCZ0 ttyCY0 audio openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev sysmon
;;
floppy)
makedev std sd0 sd1 sd2 tty00 tty01 opty
makedev st0 st1 cd0 cd1 wd0 wd1 md0
makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
;;

View File

@ -0,0 +1,17 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev sd0 sd1 sd2 sd3 st0 st1 cd0 cd1
makedev tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7
makedev ss0 ch0 uk0 uk1 lpt0 lpt1 rtc
makedev se0 se1 se2 se3
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
floppy)
makedev std sd0 sd1 sd2 tty0 tty1 tty2 tty3
makedev st0 st1 cd0 cd1 md0 opty
;;

View File

@ -0,0 +1,13 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wscons wd0 wd1
makedev usbs
;;
ramdisk)
makedev md0
;;

85
etc/etc.pmax/MAKEDEV.conf Normal file
View File

@ -0,0 +1,85 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev minimal
makedev fb0 fb1 fb2
makedev px0 # px1 px2
makedev mouse
makedev audio
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
minimal)
makedev std
makedev cd0
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7
makedev sd8 sd9 sd10 sd11 sd12 sd13 sd14 sd15
makedev st0 st1
makedev md0 dz0 zs0 opty
;;
# Serial devices: dc*, scc*.
#
# Create dc* devices as /dev/ttyD[0-3],
# for compatibility with NetBSD's vax dc/dz driver.
dc*|dz*)
case $i in
dc*) name=dc; unit=${i#dc}; chr=16;;
dz*) name=dz; unit=${i#dz}; chr=16;;
esac
case $unit in
0)
rm -f ttyD[0123]
mknod ttyD0 c $chr 0
mknod ttyD1 c $chr 1
mknod ttyD2 c $chr 2
mknod ttyD3 c $chr 3
;;
*)
echo bad unit for $name in: $i
;;
esac
;;
# Make scc devices as /dev/tty[abcd],
# for compatibility with NetBSD's MI zs tty driver.
#
scc*|zs*)
case $i in
scc*) name=scc; unit=${i#scc}; chr=17;;
zs*) name=scc; unit=${i#zs}; chr=17;;
esac
case $unit in
0|1)
rm -f tty[abcd]
mknod ttya c $chr 0
mknod ttyb c $chr 1
mknod ttyc c $chr 2
mknod ttyd c $chr 3
;;
*)
echo bad unit for $name in: $i
;;
esac
;;
fb*)
unit=${i#fb}
rm -f fb$unit
mknod fb$unit c 86 $unit
chmod 666 fb$unit
;;
px*)
unit=${i#px}
rm -f px$unit
mknod px$unit c 98 $unit
chmod 666 px$unit
;;
mouse)
ln -fs fb0 mouse
;;

View File

@ -0,0 +1,26 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1 ttyCY0
makedev satlink0
makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 ttyE8
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev isdns
;;
floppy)
makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev cd0 cd1 ttyE0 opty
;;
ramdisk)
makedev floppy md0
;;

29
etc/etc.prep/MAKEDEV.conf Normal file
View File

@ -0,0 +1,29 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
makedev st0 st1 ch0 cd0 cd1
makedev lpt0 lpt1 lpt2 ttyv0
makedev ss0 ch0 uk0 uk1
makedev speaker audio joy0 joy1
makedev audio0 audio1 audio2 audio3
makedev ttyv0 ttyCY0
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
;;
floppy)
makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev cd0 cd1 ttyE0 opty
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,25 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1 lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1 ttyCY0
makedev satlink0
makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 ttyE8
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
;;
floppy)
makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
makedev cd0 cd1 ttyE0 opty
;;
ramdisk)
makedev floppy md0
;;

View File

@ -0,0 +1,27 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16high
MD_DEVICES=
all_md)
makedev wd0 wd1 sd0 sd1 sd2 sd3
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev ld0 ld1 ld2 ld3
makedev tty00 tty01
makedev satlink0 mlx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev usbs isdns
makedev ttyCZ0 ttyCY0
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev altq
makedev sysmon
makedev kttcp
;;
minimal)
makedev std
makedev wd0 wd1 sd0 sd1 sd2 sd3 st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev opty
makedev tty00 tty01
;;

View File

@ -0,0 +1,24 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=16
MD_DEVICES=
all_md)
makedev wd0 wd1 sd0 sd1 sd2 sd3
makedev st0 st1 ch0 cd0 cd1
makedev ss0 ss1 uk0 uk1
makedev ttyC0 ttyC1 ttyC2 ttyC3
makedev ttyZ0 ttyZ1 ttyZ2 ttyZ3
makedev isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev audio
;;
minimal)
makedev std
makedev sd0 sd1 sd2 sd3 opty st0 st1 ch0 cd0 cd1 ccd0 ccd1 md0
makedev ttyC0 ttyC1
makedev ttyZ0 ttyZ1
makedev opty
;;

View File

@ -0,0 +1,23 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0
makedev lpa0 lpt0 tun0
makedev audio audio0 beep pms0
makedev usbs isdns
makedev openfirm
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
;;
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
makedev st0 st1 cd0 cd1
;;

View File

@ -0,0 +1,44 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev ttya ttyb ttyc ttyd
makedev sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3
makedev cd0 st0 st1 fd0
makedev audio0 audio1 audio2 audio3
makedev audio
makedev bpp
makedev bwtwo0 cgthree0 cgsix0 tcx0
makedev bwtwo1 cgthree1 cgsix1 tcx1
makedev cgtwo0 cgfour0 cgeight0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev cfs0 apm apmctl tctrl0
makedev isdns
makedev pci0
makedev wscons
makedev kttcp
makedev nsmb
;;
floppy|ramdisk)
makedev std ttya ttyb ttyc ttyd opty
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
makedev cd0 cd1 st0 st1 fd0
;;
tty[abcd])
unit=${i#???}
case $unit in
a) index=0;;
b) index=1;;
c) index=2;;
d) index=3;;
esac
rm -f tty$unit dty$unit
mknod tty$unit c 12 $(($index + $dialin ))
mknod dty$unit c 12 $(($index + $dialout))
chown uucp tty$unit dty$unit
;;

View File

@ -0,0 +1,45 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev ttya ttyb ttyc ttyd ttyC00 ttyC01 ttyh0 ttyh1
makedev sd0 sd1 sd2 sd3 sd4 ss0 ch0 uk0 uk1
makedev wd0 wd1 wd2 wd3 cd0 st0 st1 fd0
makedev audio0 audio1 audio2 audio3
makedev audio
makedev bpp lpt0 lpt1 lpt2
makedev bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
makedev cgeight0 tcx0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev sysmon
makedev usbs
makedev radio
makedev isdns
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev wscons
makedev kttcp
makedev nsmb
;;
floppy|ramdisk)
makedev std ttya ttyb ttyc ttyd opty
makedev sd0 sd1 sd2 sd3 sd4 sd5 md0
makedev wd0 wd1 cd0 cd1 st0 st1 fd0
makedev random
;;
tty[abcd])
unit=${i#???}
case $unit in
a) index=0;;
b) index=1;;
c) index=4;;
d) index=5;;
esac
rm -f tty$unit dty$unit
mknod tty$unit c 12 $(($index + $dialin ))
mknod dty$unit c 12 $(($index + $dialout))
chown uucp tty$unit dty$unit
;;

37
etc/etc.sun2/MAKEDEV.conf Normal file
View File

@ -0,0 +1,37 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev bwtwo0 cgtwo0
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6
makedev cd0 cd1 st0 st1 st2
makedev xd0 xd1 xd2 xd3
makedev xy0 xy1 xy2 xy3
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev std_sun2
;;
std_sun2)
# other standard devices
mkdev kd c 1 0 622
mkdev tty c 2 0
mkdev leds c 3 13
mkdev ttya c 12 0
mkdev ttyb c 12 1
# this hole in minors is for the keyboard and mouse
mkdev ttyc c 12 4
mkdev ttyd c 12 5
mkdev ttye c 12 6
mkdev ttyf c 12 7
mkdev ttyg c 12 8
mkdev ttyh c 12 9
mkdev ttyi c 12 10
mkdev ttyj c 12 11
mkdev mouse c 13 0
mkdev fb c 22 0
mkdev kbd c 29 0
;;

25
etc/etc.sun3/MAKEDEV.conf Normal file
View File

@ -0,0 +1,25 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:34 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev bwtwo0 cgtwo0 cgfour0
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6
makedev cd0 cd1 st0 st1 st2 fd0
makedev xd0 xd1 xd2 xd3
makedev xy0 xy1 xy2 xy3
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev std_sun3
;;
# other standard devices
std_sun3)
mkdev kd c 1 0 622
mkdev ttya c 12 0
mkdev ttyb c 12 1
mkdev mouse c 13 0
mkdev fb c 22 0
mkdev kbd c 29 0
;;

257
etc/etc.vax/MAKEDEV.conf Normal file
View File

@ -0,0 +1,257 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:34 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
makedev ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 rd0 rd1 rd2
makedev dz0 dl0 dhu0 rx0 rx1
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev std_vax
;;
std_vax)
rm -f floppy crl csa1 cas2 tu0 tu1 g0 g1 g2 g3
rm -f kUmem leds
mknod ttyg0 c 25 0
mknod ttyg1 c 25 1
mknod ttyg2 c 25 2
mknod ttyg3 c 25 3
mknod floppy c 8 0
mknod crl c 35 0
mknod csa1 c 51 0
mknod csa2 c 51 1
mknod tu0 b 8 0
mknod tu1 b 8 1
mknod kUmem c 3 3 ; chmod 600 kUmem
mknod leds c 3 13 ; chmod 666 leds
;;
ht*|tm*|mt*|ts*|ut*)
case $i in
ht*) name=ht; unit=${i#ht}; blk=1; chr=5 ;;
mt*) name=mt; unit=${i#mt}; blk=15; chr=38;;
tm*) name=tm; unit=${i#tm}; blk=5; chr=14;;
ts*) name=ts; unit=${i#ts}; blk=6; chr=16;;
ut*) name=ut; unit=${i#ut}; blk=10; chr=17;;
esac
case $unit in
[0-7])
four=$(($unit + 4)) ; eight=$(($unit + 8))
twelve=$(($unit + 12)) ; twenty=$(($unit + 20))
rm -f $name$unit $name$four $name$eight $name$twelve \
n$name$unit n$name$eight nr$name$unit nr$name$eight \
r$name$unit r$name$four r$name$eight r$name$twelve
mknod $name$unit b $blk $unit
mknod $name$four b $blk $four
mknod $name$eight b $blk $eight
mknod $name$twelve b $blk $twelve
mknod n$name$unit b $blk $four ;: sanity w/pdp11 v7
mknod n$name$eight b $blk $twelve ;: ditto
mknod nr$name$unit c $chr $four ;: sanity w/pdp11 v7
mknod nr$name$eight c $chr $twelve ;: ditto
mknod r$name$unit c $chr $unit
mknod r$name$four c $chr $four
mknod r$name$eight c $chr $eight
mknod r$name$twelve c $chr $twelve
chgrp operator $name$unit $name$four $name$eight $name$twelve \
n$name$unit n$name$eight nr$name$unit nr$name$eight \
r$name$unit r$name$four r$name$eight r$name$twelve
chmod 660 $name$unit $name$four $name$eight $name$twelve \
n$name$unit n$name$eight nr$name$unit nr$name$eight \
r$name$unit r$name$four r$name$eight r$name$twelve
if [ $i = ut ]
then
rm -f $name$twenty r$name$twenty
mknod $name$twenty b $blk $twenty
mknod r$name$twenty c $chr $twenty
chgrp operator $name$twenty r$name$twenty
chmod 660 $name$twenty r$name$twenty
fi
if [ ! -e rmt$eight ] # compatibility stuff
then
ln -fs $name$unit mt$unit
ln -fs $name$four mt$four
ln -fs $name$eight mt$eight
ln -fs $name$twelve mt$twelve
ln -fs n$name$unit nmt$unit
ln -fs n$name$eight nmt$eight
ln -fs nr$name$unit nrmt$unit
ln -fs nr$name$eight nrmt$eight
ln -fs r$name$unit rmt$unit
ln -fs r$name$four rmt$four
ln -fs r$name$eight rmt$eight
ln -fs r$name$twelve rmt$twelve
fi
;;
*)
echo bad unit for tape in: $1
;;
esac
;;
hp*|hk*|up*|ra*|rl*|rb*|rd*|rx*)
umask 2
case $i in
hp*) name=hp; unit=${i#hp}; blk=0; chr=4;;
hk*) name=hk; unit=${i#hk}; blk=3; chr=11;;
up*) name=up; unit=${i#up}; blk=2; chr=13;;
ra*) name=ra; unit=${i#ra}; blk=9; chr=9;;
rb*) name=rb; unit=${i#rb}; blk=11; chr=23;;
rx*) name=rx; unit=${i#rx}; blk=12; chr=30;;
rl*) name=rl; unit=${i#rl}; blk=14; chr=32;;
rd*) name=rd; unit=${i#rd}; blk=19; chr=58;;
esac
%MKDISK% $name $unit $blk $chr
;;
uu*)
unit=${i#uu}
name=uu; blk=13
case $unit in
[0-3])
mknod ${name}${unit} b $blk $(($unit * 2 + 0))
mknod ${name}${unit}a b $blk $(($unit * 2 + 1))
;;
*)
echo bad unit for uu cassette in: $i
;;
esac
;;
dz*)
unit=${i#dz}
case $unit in
[0-7])
i=0
while [ $i -lt 8 ]; do
no=$(($unit * 8 + $i))
`printf "mknod tty%02d c 1 %d\n" $no $no`
i=$(($i + 1))
done
;;
*)
echo bad unit for dz in: $i
;;
esac
;;
dhu*|dh*|dmf*|dmz*|vt*)
case $i in
vt*) name=vt; major=68; count=8
unit=${i#vt}
case $unit in
0) ch=w ;;
*) echo bad unit for $name in: $i ;;
esac;;
dmz*) name=dmz; major=37; count=24
unit=${i#dmz}
case $unit in
0) ch=a ;; 1) ch=b ;; 2) ch=c ;; 3) ch=e ;; 4) ch=f ;;
*) echo bad unit for $name in: $i ;;
esac;;
dmf*) name=dmf; major=22; count=8
unit=${i#dmf}
case $unit in
0) ch=A ;; 1) ch=B ;; 2) ch=C ;; 3) ch=E ;;
4) ch=F ;; 5) ch=G ;; 6) ch=H ;; 7) ch=I ;;
*) echo bad unit for $name in: $i ;;
esac;;
dhu*) name=dhu; major=34; count=16
unit=${i#dhu}
case $unit in
0) ch=S ;; 1) ch=T ;; 2) ch=U ;; 3) ch=V ;;
4) ch=W ;; 5) ch=X ;; 6) ch=Y ;; 7) ch=Z ;;
*) echo bad unit for $name in: $i ;;
esac;;
dh*) name=dh; major=12; count=16
unit=${i#dh}
case $unit in
0) ch=h ;; 1) ch=i ;; 2) ch=j ;; 3) ch=k ;;
4) ch=l ;; 5) ch=m ;; 6) ch=n ;; 7) ch=o ;;
*) echo bad unit for $name in: $i ;;
esac;;
esac
i=0
while [ $i -lt $count ]; do
`printf "mknod tty%s%x c %d %d\n" \
$ch $i $major $(($unit * $count + $i))`
i=$(($i + 1))
done
;;
dl*)
unit=${i#dl}
major=66
`printf "mknod ttyJ%x c %d %d\n" $unit $major $unit`
;;
lp*|va*|vp*)
case $i in
lp*) name=lp; unit=${i#lp}; major=15;;
va*) name=va; unit=${i#va}; major=10;;
vp*) name=vp; unit=${i#vp}; major=6;;
esac
case $unit in
[0-7])
mknod $i c $major $unit
chmod 666 $i
;;
*)
echo bad unit for $name in: $i
;;
esac
;;
np*)
class=${i#np}
case $class in
0) offset=0 name=0;;
1) offset=16 name=1;;
2) offset=32 name=2;;
*) echo bad unit for np in: $i;;
esac
case $class in
0|1|2)
i=0
while [ $i -lt 4 ]; do
`printf "mknod np%02d c 39 %d\n" $(($offset + $i)) $(($offset + $i))`
i=$(($i + 1))
done
esac
;;
dn*|ik*|ps*|ad*|ct*)
case $i in
ct*) name=ct; unit=${i#ct}; chr=18;;
dn*) name=cu; unit=${i#dn}; chr=24;;
ps*) name=ps; unit=${i#ps}; chr=27;;
ad*) name=ad; unit=${i#ad}; chr=29;;
ik*) name=ik; unit=${i#ik}; chr=31;;
esac
case $unit in
[0-7])
umask 0
mknod ${name}${unit} c ${chr} ${unit}
umask 77
;;
*)
echo bad unit for ${name} in: $i
;;
esac
;;
qd*)
unit=${i#qd}
rm -f qd$unit
mknod qc$unit c 40 $(($unit * 4))
mknod qd$unit c 40 $(($unit * 4 + 2))
;;
qv0)
mknod qv0 c 40 0
mknod qvcons c 40 1
mknod mouse c 40 2
;;

26
etc/etc.x68k/MAKEDEV.conf Normal file
View File

@ -0,0 +1,26 @@
# $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:34 jdolecek Exp $
DISKPARTITIONS=8
MD_DEVICES=
all_md)
makedev st0 st1 ttye0 ttye1 mouse0 mouse1
makedev tty00 tty01 tty02 tty03 com0 com1 grf0 grf1 kbd
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6
makedev cd0 ss0 fd0 fd1 fd2 fd3
makedev par0
makedev sram audio pow0 pow1 bell
makedev bmd0 bmd1 ch0 uk0 uk1 ss0
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
makedev usbs
;;
floppy)
makedev std fd0 sd0 sd1 sd2 sd3 sd4 sd5 sd6
makedev tty00 cd0 ttye0 opty
;;
ramdisk)
makedev floppy md0 sram
;;