Browse Source

- use : instead of . for chown

- add bpp devices
OPENBSD_3_4
jason 21 years ago
parent
commit
e3575d4593
2 changed files with 33 additions and 23 deletions
  1. +15
    -10
      src/etc/etc.sparc/MAKEDEV
  2. +18
    -13
      src/etc/etc.sparc64/MAKEDEV

+ 15
- 10
src/etc/etc.sparc/MAKEDEV View File

@ -3,8 +3,8 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.17 2003/04/13 22:55:43 miod Exp
# OpenBSD: MAKEDEV.mi,v 1.58 2003/04/10 16:11:12 millert Exp
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.18 2003/05/21 18:49:00 jason Exp
# OpenBSD: MAKEDEV.mi,v 1.59 2003/05/21 18:48:59 jason Exp
# OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp # OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp
# #
# #
@ -76,6 +76,7 @@
# bppmag[mno] magma parallel port device # bppmag[mno] magma parallel port device
# spif* spif card (makes 8 tty and 1 bpp) # spif* spif card (makes 8 tty and 1 bpp)
# bpp[jkl] spif parallel port device # bpp[jkl] spif parallel port device
# bpp* parallel port devices
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# raid* RAIDframe disk devices # raid* RAIDframe disk devices
# fd makes fd/* for the fdescfs # fd makes fd/* for the fdescfs
@ -235,6 +236,10 @@ xfs*)
M xfs$U c 51 $U 600 M xfs$U c 51 $U 600
;; ;;
bpp*)
M bpp$U c 104 $U 600
;;
spif*) spif*)
case $U in case $U in
0) offset=0 nam=j;; 0) offset=0 nam=j;;
@ -468,14 +473,14 @@ local)
;; ;;
all) all)
R presto0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2
R sd3 sd4 cd0 cd1 rd0 xy0 xy1 xy2 xy3 tun0 tun1 tun2 tun3 bpf0
R bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2
R fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D
R fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 cuaa cuab cuac
R cuad ttya ttyb ttyc ttyd wscons audio0 uk0 random lkm pf
R systrace xd0 xd1 xd2 xd3 raid0 raid1 raid2 raid3 std st0 st1
R fd
R presto0 bpp0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0
R sd1 sd2 sd3 sd4 cd0 cd1 rd0 xy0 xy1 xy2 xy3 tun0 tun1 tun2
R tun3 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0
R pty1 pty2 fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B
R fd0C fd0D fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 cuaa
R cuab cuac cuad ttya ttyb ttyc ttyd wscons audio0 uk0 random
R lkm pf systrace xd0 xd1 xd2 xd3 raid0 raid1 raid2 raid3 std
R st0 st1 fd
;; ;;
presto*|xd*|xy*|sd*|raid*|ccd*) presto*|xd*|xy*|sd*|raid*|ccd*)


+ 18
- 13
src/etc/etc.sparc64/MAKEDEV View File

@ -3,8 +3,8 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.25 2002/12/05 04:30:21 kjc Exp
# OpenBSD: MAKEDEV.mi,v 1.56 2003/01/06 17:19:16 todd Exp
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.26 2003/05/21 18:49:00 jason Exp
# OpenBSD: MAKEDEV.mi,v 1.59 2003/05/21 18:48:59 jason Exp
# OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp # OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp
# #
# #
@ -91,6 +91,7 @@
# *random inkernel random data source # *random inkernel random data source
# magma* magma card (makes 16 tty and 2 bpp) # magma* magma card (makes 16 tty and 2 bpp)
# bppmag[mno] magma parallel port device # bppmag[mno] magma parallel port device
# bpp* parallel port devices
# spif* spif card (makes 8 tty and 1 bpp) # spif* spif card (makes 8 tty and 1 bpp)
# bpp[jkl] spif parallel port device # bpp[jkl] spif parallel port device
# crypto hardware crypto access driver # crypto hardware crypto access driver
@ -156,7 +157,7 @@ dodisk()
M r$1$2$d c $4 $(($n+$count)) 640 M r$1$2$d c $4 $(($n+$count)) 640
let count=count+1 let count=count+1
done done
MKlist="$MKlist;chown root.operator $1$2? r$1$2?"
MKlist="$MKlist;chown root:operator $1$2? r$1$2?"
} }
dodisk2() dodisk2()
@ -188,7 +189,7 @@ M() {
mklist="$mklist $1" mklist="$mklist $1"
G=${6:-wheel} G=${6:-wheel}
[ "$7" ] && { [ "$7" ] && {
MKlist="$MKlist;chown $7.$G $1"
MKlist="$MKlist;chown $7:$G $1"
} || { } || {
case $G in case $G in
wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;;
@ -277,6 +278,10 @@ spif*)
M bpp${nam}0 c 109 $(($offset+0)) 600 M bpp${nam}0 c 109 $(($offset+0)) 600
;; ;;
bpp*)
M bpp$U c 107 $U 600
;;
magma*) magma*)
case $U in case $U in
0) offset=0 nam=m;; 0) offset=0 nam=m;;
@ -553,15 +558,15 @@ local)
;; ;;
all) all)
R cuaa cuab cuac cuad ttya ttyb ttyc ttyd vnd0 vnd1 vnd2 vnd3
R sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0
R bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2
R fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D
R fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 ccd0 ccd1 ccd2
R ccd3 wscons pci usbs audio0 uk0 random lpa0 lpa1 lpa2 lpt0
R lpt1 lpt2 lkm tty00 tty01 tty02 tty03 ttyh0 ttyh1 crypto pf
R systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1
R fd
R cuaa cuab cuac cuad ttya ttyb ttyc ttyd bpp0 vnd0 vnd1 vnd2
R vnd3 sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3
R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1
R pty2 fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C
R fd0D fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 ccd0 ccd1
R ccd2 ccd3 wscons pci usbs audio0 uk0 random lpa0 lpa1 lpa2
R lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03 ttyh0 ttyh1
R crypto pf systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3
R std st0 st1 fd
;; ;;
wd*|sd*|raid*|ccd*) wd*|sd*|raid*|ccd*)


Loading…
Cancel
Save