diff options
34 files changed, 602 insertions, 687 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index e4d2f09746e..61115754fd5 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.alpha/MAKEDEV.md,v 1.27 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -173,34 +173,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -264,8 +261,8 @@ ss*) M ss$U c 32 $(($U*16)) 640 operator M nss$U c 32 $(($(($U*16))+1)) 640 operator M enss$U c 32 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; speaker) @@ -296,8 +293,8 @@ pci) music*) M music$U c 42 $U M sequencer$U c 42 $(($U+128)) - MKlist="$MKlist;[ -e music ] || ln -s music$U music" - MKlist="$MKlist;[ -e sequencer ] || ln -s sequencer$U sequencer" + MKlist[${#MKlist[*]}]=";[ -e music ] || ln -s music$U music" + MKlist[${#MKlist[*]}]=";[ -e sequencer ] || ln -s sequencer$U sequencer" ;; lkm) @@ -313,9 +310,9 @@ hotplug) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 10 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -331,10 +328,10 @@ audio*) M mixer$U c 24 $(($U+16)) M audio$U c 24 $(($U+128)) M audioctl$U c 24 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; usb*) @@ -534,16 +531,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.amd64/MAKEDEV b/etc/etc.amd64/MAKEDEV index 00c04fc69ca..262d4f4c33e 100644 --- a/etc/etc.amd64/MAKEDEV +++ b/etc/etc.amd64/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.amd64/MAKEDEV.md,v 1.13 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -185,34 +185,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -279,8 +276,8 @@ ss*) M ss$U c 19 $(($U*16)) 640 operator M nss$U c 19 $(($(($U*16))+1)) 640 operator M enss$U c 19 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; speaker) @@ -302,7 +299,7 @@ rmidi*) radio*) M radio$U c 76 $U - MKlist="$MKlist;[ -e radio ] || ln -s radio$U radio" + MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio" ;; pf*) @@ -320,8 +317,8 @@ pci) music*) M music$U c 53 $U M sequencer$U c 53 $(($U+128)) - MKlist="$MKlist;[ -e music ] || ln -s music$U music" - MKlist="$MKlist;[ -e sequencer ] || ln -s sequencer$U sequencer" + MKlist[${#MKlist[*]}]=";[ -e music ] || ln -s music$U music" + MKlist[${#MKlist[*]}]=";[ -e sequencer ] || ln -s sequencer$U sequencer" ;; lkm) @@ -345,9 +342,9 @@ gpr*) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 22 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -371,10 +368,10 @@ audio*) M mixer$U c 42 $(($U+16)) M audio$U c 42 $(($U+128)) M audioctl$U c 42 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; acpi*) @@ -599,16 +596,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.cats/MAKEDEV b/etc/etc.cats/MAKEDEV index 1d2d1b264e5..fcc37389068 100644 --- a/etc/etc.cats/MAKEDEV +++ b/etc/etc.cats/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.cats/MAKEDEV.md,v 1.11 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -168,34 +168,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -245,8 +242,8 @@ ss*) M ss$U c 29 $(($U*16)) 640 operator M nss$U c 29 $(($(($U*16))+1)) 640 operator M enss$U c 29 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; speaker) @@ -268,7 +265,7 @@ tun*) radio*) M radio$U c 97 $U - MKlist="$MKlist;[ -e radio ] || ln -s radio$U radio" + MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio" ;; pf*) @@ -288,9 +285,9 @@ iop*) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -310,10 +307,10 @@ audio*) M mixer$U c 36 $(($U+16)) M audio$U c 36 $(($U+128)) M audioctl$U c 36 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; uscanner*) @@ -485,16 +482,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index c10a05dcdb4..94cdcc04377 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.hp300/MAKEDEV.md,v 1.24 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -157,34 +157,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -300,8 +297,8 @@ ss*) M ss$U c 38 $(($U*16)) 640 operator M nss$U c 38 $(($(($U*16))+1)) 640 operator M enss$U c 38 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -322,9 +319,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -414,9 +411,9 @@ ct*|mt*) M r$name$four c $chr $four 660 operator M r$name$eight c $chr $eight 660 operator M r$name$twelve c $chr $twelve 660 operator - MKlist="$MKlist;ln r$name$four nr$name$U";: sanity w/pdp11 v7 - MKlist="$MKlist;ln r$name$twelve nr$name$eight";: ditto - RMlist="$RMlist nr$name$U nr$name$eight" + MKlist[${#MKlist[*]}]=";ln r$name$four nr$name$U";: sanity w/pdp11 v7 + MKlist[${#MKlist[*]}]=";ln r$name$twelve nr$name$eight";: ditto + RMlist[${#RMlist[*]}]="nr$name$U nr$name$eight" ;; *) echo bad unit for tape in: @@ -468,16 +465,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.hppa/MAKEDEV b/etc/etc.hppa/MAKEDEV index fe73651f976..c5554f1d48e 100644 --- a/etc/etc.hppa/MAKEDEV +++ b/etc/etc.hppa/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.hppa/MAKEDEV.md,v 1.25 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -167,34 +167,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -248,8 +245,8 @@ ss*) M ss$U c 14 $(($U*16)) 640 operator M nss$U c 14 $(($(($U*16))+1)) 640 operator M enss$U c 14 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -274,9 +271,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 16 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -292,10 +289,10 @@ audio*) M mixer$U c 35 $(($U+16)) M audio$U c 35 $(($U+128)) M audioctl$U c 35 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; uscanner*) @@ -498,16 +495,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.hppa64/MAKEDEV b/etc/etc.hppa64/MAKEDEV index 30c5c2bb7cd..ccdd683f3d2 100644 --- a/etc/etc.hppa64/MAKEDEV +++ b/etc/etc.hppa64/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.hppa64/MAKEDEV.md,v 1.3 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -158,34 +158,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -239,8 +236,8 @@ ss*) M ss$U c 14 $(($U*16)) 640 operator M nss$U c 14 $(($(($U*16))+1)) 640 operator M enss$U c 14 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -265,9 +262,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 16 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -283,10 +280,10 @@ audio*) M mixer$U c 35 $(($U+16)) M audio$U c 35 $(($U+128)) M audioctl$U c 35 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; lpt*|lpa*) @@ -448,16 +445,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 2ef12b887d9..e684388658c 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.i386/MAKEDEV.md,v 1.33 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -188,34 +188,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -282,8 +279,8 @@ ss*) M ss$U c 19 $(($U*16)) 640 operator M nss$U c 19 $(($(($U*16))+1)) 640 operator M enss$U c 19 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; speaker) @@ -305,7 +302,7 @@ rmidi*) radio*) M radio$U c 76 $U - MKlist="$MKlist;[ -e radio ] || ln -s radio$U radio" + MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio" ;; pf*) @@ -327,8 +324,8 @@ nvram) music*) M music$U c 53 $U M sequencer$U c 53 $(($U+128)) - MKlist="$MKlist;[ -e music ] || ln -s music$U music" - MKlist="$MKlist;[ -e sequencer ] || ln -s sequencer$U sequencer" + MKlist[${#MKlist[*]}]=";[ -e music ] || ln -s music$U music" + MKlist[${#MKlist[*]}]=";[ -e sequencer ] || ln -s sequencer$U sequencer" ;; lkm) @@ -356,9 +353,9 @@ gpio*) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 22 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -382,10 +379,10 @@ audio*) M mixer$U c 42 $(($U+16)) M audio$U c 42 $(($U+128)) M audioctl$U c 42 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; acpi*) @@ -616,16 +613,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.luna88k/MAKEDEV b/etc/etc.luna88k/MAKEDEV index daa8c1060ab..5f9f9158225 100644 --- a/etc/etc.luna88k/MAKEDEV +++ b/etc/etc.luna88k/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.luna88k/MAKEDEV.md,v 1.2 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -150,34 +150,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -226,8 +223,8 @@ ss*) M ss$U c 42 $(($U*16)) 640 operator M nss$U c 42 $(($(($U*16))+1)) 640 operator M enss$U c 42 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -248,9 +245,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -378,16 +375,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index 19c00dc872b..c718ae19c32 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.mac68k/MAKEDEV.md,v 1.19 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -148,34 +148,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -264,8 +261,8 @@ ss*) M ss$U c 33 $(($U*16)) 640 operator M nss$U c 33 $(($(($U*16))+1)) 640 operator M enss$U c 33 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -286,9 +283,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -387,16 +384,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.macppc/MAKEDEV b/etc/etc.macppc/MAKEDEV index f590f9c1848..d957bc122cf 100644 --- a/etc/etc.macppc/MAKEDEV +++ b/etc/etc.macppc/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.macppc/MAKEDEV.md,v 1.21 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -170,34 +170,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -252,8 +249,8 @@ ss*) M ss$U c 42 $(($U*16)) 640 operator M nss$U c 42 $(($(($U*16))+1)) 640 operator M enss$U c 42 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -267,7 +264,7 @@ ss*) radio*) M radio$U c 76 $U - MKlist="$MKlist;[ -e radio ] || ln -s radio$U radio" + MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio" ;; pf*) @@ -291,9 +288,9 @@ hotplug) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -313,10 +310,10 @@ audio*) M mixer$U c 44 $(($U+16)) M audio$U c 44 $(($U+128)) M audioctl$U c 44 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; apm*) @@ -493,16 +490,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV index fa97b95276b..9a957ff289c 100644 --- a/etc/etc.mvme68k/MAKEDEV +++ b/etc/etc.mvme68k/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.mvme68k/MAKEDEV.md,v 1.15 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -153,34 +153,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -237,8 +234,8 @@ ss*) M ss$U c 42 $(($U*16)) 640 operator M nss$U c 42 $(($(($U*16))+1)) 640 operator M enss$U c 42 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; sram0) @@ -271,9 +268,9 @@ flash0) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -426,16 +423,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.mvme88k/MAKEDEV b/etc/etc.mvme88k/MAKEDEV index 1604d4c4d46..c52e8a361b4 100644 --- a/etc/etc.mvme88k/MAKEDEV +++ b/etc/etc.mvme88k/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.15 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -149,34 +149,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -233,8 +230,8 @@ ss*) M ss$U c 42 $(($U*16)) 640 operator M nss$U c 42 $(($(($U*16))+1)) 640 operator M enss$U c 42 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; sram0) @@ -263,9 +260,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -394,16 +391,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.sgi/MAKEDEV b/etc/etc.sgi/MAKEDEV index 513a58e63a6..7718c755f06 100644 --- a/etc/etc.sgi/MAKEDEV +++ b/etc/etc.sgi/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.sgi/MAKEDEV.md,v 1.10 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -153,34 +153,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -228,8 +225,8 @@ ss*) M ss$U c 34 $(($U*16)) 640 operator M nss$U c 34 $(($(($U*16))+1)) 640 operator M enss$U c 34 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -250,9 +247,9 @@ pci) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -268,10 +265,10 @@ audio*) M mixer$U c 44 $(($U+16)) M audio$U c 44 $(($U+128)) M audioctl$U c 44 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; wsmouse*) @@ -400,16 +397,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index 740a3b9fe14..b6ce2f66376 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.sparc/MAKEDEV.md,v 1.29 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -166,34 +166,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -248,8 +245,8 @@ ss*) M ss$U c 121 $(($U*16)) 640 operator M nss$U c 121 $(($(($U*16))+1)) 640 operator M enss$U c 121 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -274,9 +271,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 24 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -288,10 +285,10 @@ audio*) M mixer$U c 69 $(($U+16)) M audio$U c 69 $(($U+128)) M audioctl$U c 69 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; apm*) @@ -527,16 +524,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV index 44028d1edd5..f88ac266496 100644 --- a/etc/etc.sparc64/MAKEDEV +++ b/etc/etc.sparc64/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.sparc64/MAKEDEV.md,v 1.38 2005/08/01 22:22:13 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -180,34 +180,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -265,8 +262,8 @@ ss*) M ss$U c 59 $(($U*16)) 640 operator M nss$U c 59 $(($(($U*16))+1)) 640 operator M enss$U c 59 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -318,9 +315,9 @@ hotplug) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 24 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -336,10 +333,10 @@ audio*) M mixer$U c 69 $(($U+16)) M audio$U c 69 $(($U+128)) M audioctl$U c 69 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; uscanner*) @@ -599,16 +596,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV index ab4ab1727f2..069662b555e 100644 --- a/etc/etc.vax/MAKEDEV +++ b/etc/etc.vax/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.vax/MAKEDEV.md,v 1.21 2005/08/01 22:22:14 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -164,34 +164,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -294,8 +291,8 @@ ss*) M ss$U c 64 $(($U*16)) 640 operator M nss$U c 64 $(($(($U*16))+1)) 640 operator M enss$U c 64 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; *random) @@ -316,9 +313,9 @@ lkm) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 53 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; bpf*) @@ -514,16 +511,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/etc/etc.zaurus/MAKEDEV b/etc/etc.zaurus/MAKEDEV index 7b21593fd77..744ab2e0750 100644 --- a/etc/etc.zaurus/MAKEDEV +++ b/etc/etc.zaurus/MAKEDEV @@ -4,8 +4,8 @@ # generated from: # # OpenBSD: etc.zaurus/MAKEDEV.md,v 1.7 2005/08/01 22:22:14 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp -# OpenBSD: MAKEDEV.mi,v 1.76 2005/10/04 18:33:52 otto Exp +# OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp +# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # # @@ -169,34 +169,31 @@ dodisk2() } # M name b/c major minor [mode] [group] -RMlist="rm -f" -MKlist=":" +RMlist[0]="rm -f" mkl() { - [ "${mklist[$1]}" ] && { - mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5" - } || { - mklist[$1]="mknod -m $1 $2 $3 $4 $5" - modes="$modes $1" - } + mklist[${#mklist[*]}]=";mknod -m $1 $2 $3 $4 $5" } M() { - RMlist="$RMlist $1" + RMlist[${#RMlist[*]}]=$1 mkl ${5-666} $1 $2 $3 $4 G=${6:-wheel} [ "$7" ] && { - MKlist="$MKlist;chown $7:$G $1" + MKlist[${#MKlist[*]}]=";chown $7:$G $1" } || { case $G in - wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;_lkm)g=61;; + wheel) + [ ${#whlist[*]} = 0 ] && whlist[0]=";chgrp wheel" + whlist[${#whlist[*]}]="$1" + ;; + operator) + [ ${#oplist[*]} = 0 ] && oplist[0]=";chgrp operator" + oplist[${#oplist[*]}]="$1" + ;; + *) + MKlist[${#MKlist[*]}]=";chgrp $G $1"; esac - [ "${grplist[$g]}" ] && { - grplist[$g]="${grplist[$g]} $1" - } || { - groups="$groups $g" - grplist[$g]="chgrp $G $1" - } } return 0 } @@ -247,8 +244,8 @@ ss*) M ss$U c 29 $(($U*16)) 640 operator M nss$U c 29 $(($(($U*16))+1)) 640 operator M enss$U c 29 $(($(($U*16))+3)) 640 operator - RMlist="$RMlist scan$U" - MKlist="$MKlist;umask 77;ln -s ss$U scan$U" + RMlist[${#RMlist[*]}]="scan$U" + MKlist[${#MKlist[*]}]=";umask 77;ln -s ss$U scan$U" ;; uk*) @@ -270,7 +267,7 @@ tun*) radio*) M radio$U c 97 $U - MKlist="$MKlist;[ -e radio ] || ln -s radio$U radio" + MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio" ;; pf*) @@ -290,9 +287,9 @@ iop*) ;; fd) - RMlist="mkdir -p fd;$RMlist" n=0 + RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0 while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done - MKlist="$MKlist;chmod 555 fd" + MKlist[${#MKlist[*]}]=";chmod 555 fd" ;; crypto) @@ -316,10 +313,10 @@ audio*) M mixer$U c 36 $(($U+16)) M audio$U c 36 $(($U+128)) M audioctl$U c 36 $(($U+192)) - MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio" - MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer" - MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound" - MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl" + MKlist[${#MKlist[*]}]=";[ -e audio ] || ln -s audio$U audio" + MKlist[${#MKlist[*]}]=";[ -e mixer ] || ln -s mixer$U mixer" + MKlist[${#MKlist[*]}]=";[ -e sound ] || ln -s sound$U sound" + MKlist[${#MKlist[*]}]=";[ -e audioctl ] || ln -s audioctl$U audioctl" ;; apm*) @@ -491,16 +488,14 @@ esac done } R "$@" -list="$RMlist" -for mode in $modes; do - list="$list;${mklist[$mode]}" -done -for group in $groups; do - list="$list;${grplist[$group]}" -done -list="$list;$MKlist" -if [ "$eo" = "echo" ]; then - $eo "$list" +{ +echo -n ${RMlist[*]} +echo -n ${mklist[*]} +echo -n ${MKlist[*]} +echo -n ${whlist[*]} +echo ${oplist[*]} +} | if [ "$eo" = "echo" ]; then + cat else - echo "$list" | sh + sh fi diff --git a/share/man/man8/man8.alpha/MAKEDEV.8 b/share/man/man8/man8.alpha/MAKEDEV.8 index 8fbf5c4db85..97c908e2e62 100644 --- a/share/man/man8/man8.alpha/MAKEDEV.8 +++ b/share/man/man8/man8.alpha/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.20 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.21 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.alpha/MAKEDEV.md,v 1.27 2005/08/01 22:22:12 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 alpha .Os .Sh NAME diff --git a/share/man/man8/man8.amd64/MAKEDEV.8 b/share/man/man8/man8.amd64/MAKEDEV.8 index d81e9675a99..109bd18ca75 100644 --- a/share/man/man8/man8.amd64/MAKEDEV.8 +++ b/share/man/man8/man8.amd64/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.17 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.18 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.amd64/MAKEDEV.md,v 1.13 2005/08/01 22:22:12 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 amd64 .Os .Sh NAME diff --git a/share/man/man8/man8.cats/MAKEDEV.8 b/share/man/man8/man8.cats/MAKEDEV.8 index 6e1bd4622cb..867da609a79 100644 --- a/share/man/man8/man8.cats/MAKEDEV.8 +++ b/share/man/man8/man8.cats/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.16 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.17 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.cats/MAKEDEV.md,v 1.11 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 cats .Os .Sh NAME diff --git a/share/man/man8/man8.hp300/MAKEDEV.8 b/share/man/man8/man8.hp300/MAKEDEV.8 index cc6ec546ab3..9208e6b55d8 100644 --- a/share/man/man8/man8.hp300/MAKEDEV.8 +++ b/share/man/man8/man8.hp300/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.32 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.33 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.hp300/MAKEDEV.md,v 1.24 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 hp300 .Os .Sh NAME diff --git a/share/man/man8/man8.hppa/MAKEDEV.8 b/share/man/man8/man8.hppa/MAKEDEV.8 index 660ba367576..d927376dcb6 100644 --- a/share/man/man8/man8.hppa/MAKEDEV.8 +++ b/share/man/man8/man8.hppa/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.20 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.21 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.hppa/MAKEDEV.md,v 1.25 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 hppa .Os .Sh NAME diff --git a/share/man/man8/man8.hppa64/MAKEDEV.8 b/share/man/man8/man8.hppa64/MAKEDEV.8 index c7ef93fddb2..39519cc733e 100644 --- a/share/man/man8/man8.hppa64/MAKEDEV.8 +++ b/share/man/man8/man8.hppa64/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.3 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.4 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.hppa64/MAKEDEV.md,v 1.3 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 hppa64 .Os .Sh NAME diff --git a/share/man/man8/man8.i386/MAKEDEV.8 b/share/man/man8/man8.i386/MAKEDEV.8 index 28f5d683631..8b4cc9157ad 100644 --- a/share/man/man8/man8.i386/MAKEDEV.8 +++ b/share/man/man8/man8.i386/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.43 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.44 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.i386/MAKEDEV.md,v 1.33 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 i386 .Os .Sh NAME diff --git a/share/man/man8/man8.luna88k/MAKEDEV.8 b/share/man/man8/man8.luna88k/MAKEDEV.8 index 517e6bf1f78..091799c1d2b 100644 --- a/share/man/man8/man8.luna88k/MAKEDEV.8 +++ b/share/man/man8/man8.luna88k/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.9 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.10 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.luna88k/MAKEDEV.md,v 1.2 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 luna88k .Os .Sh NAME diff --git a/share/man/man8/man8.mac68k/MAKEDEV.8 b/share/man/man8/man8.mac68k/MAKEDEV.8 index 1d9c1fb88e1..4aefb7a862b 100644 --- a/share/man/man8/man8.mac68k/MAKEDEV.8 +++ b/share/man/man8/man8.mac68k/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.19 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.20 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.mac68k/MAKEDEV.md,v 1.19 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 mac68k .Os .Sh NAME diff --git a/share/man/man8/man8.macppc/MAKEDEV.8 b/share/man/man8/man8.macppc/MAKEDEV.8 index 771194fded8..c4cdc6cb2ae 100644 --- a/share/man/man8/man8.macppc/MAKEDEV.8 +++ b/share/man/man8/man8.macppc/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.22 2005/08/01 22:22:38 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.23 2005/10/06 06:44:24 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.macppc/MAKEDEV.md,v 1.21 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 macppc .Os .Sh NAME diff --git a/share/man/man8/man8.mvme68k/MAKEDEV.8 b/share/man/man8/man8.mvme68k/MAKEDEV.8 index 6184e73fe5a..bfaf8d5da23 100644 --- a/share/man/man8/man8.mvme68k/MAKEDEV.8 +++ b/share/man/man8/man8.mvme68k/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.18 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.19 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.mvme68k/MAKEDEV.md,v 1.15 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 mvme68k .Os .Sh NAME diff --git a/share/man/man8/man8.mvme88k/MAKEDEV.8 b/share/man/man8/man8.mvme88k/MAKEDEV.8 index f031d75b8fd..919215f5777 100644 --- a/share/man/man8/man8.mvme88k/MAKEDEV.8 +++ b/share/man/man8/man8.mvme88k/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.14 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.15 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.15 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 mvme88k .Os .Sh NAME diff --git a/share/man/man8/man8.sgi/MAKEDEV.8 b/share/man/man8/man8.sgi/MAKEDEV.8 index 21698fe3481..7e7cf3aaa7d 100644 --- a/share/man/man8/man8.sgi/MAKEDEV.8 +++ b/share/man/man8/man8.sgi/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.13 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.14 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.sgi/MAKEDEV.md,v 1.10 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 sgi .Os .Sh NAME diff --git a/share/man/man8/man8.sparc/MAKEDEV.8 b/share/man/man8/man8.sparc/MAKEDEV.8 index f442eebc5ef..6b5364d0b57 100644 --- a/share/man/man8/man8.sparc/MAKEDEV.8 +++ b/share/man/man8/man8.sparc/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.33 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.34 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.sparc/MAKEDEV.md,v 1.29 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 sparc .Os .Sh NAME diff --git a/share/man/man8/man8.sparc64/MAKEDEV.8 b/share/man/man8/man8.sparc64/MAKEDEV.8 index 4e12584887b..e2a3fa4ad5c 100644 --- a/share/man/man8/man8.sparc64/MAKEDEV.8 +++ b/share/man/man8/man8.sparc64/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.23 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.24 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.sparc64/MAKEDEV.md,v 1.38 2005/08/01 22:22:13 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 sparc64 .Os .Sh NAME diff --git a/share/man/man8/man8.vax/MAKEDEV.8 b/share/man/man8/man8.vax/MAKEDEV.8 index 31a1da365e8..a902002edd3 100644 --- a/share/man/man8/man8.vax/MAKEDEV.8 +++ b/share/man/man8/man8.vax/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.29 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.30 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.vax/MAKEDEV.md,v 1.21 2005/08/01 22:22:14 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 vax .Os .Sh NAME diff --git a/share/man/man8/man8.zaurus/MAKEDEV.8 b/share/man/man8/man8.zaurus/MAKEDEV.8 index ae26442c81c..3699e5fd643 100644 --- a/share/man/man8/man8.zaurus/MAKEDEV.8 +++ b/share/man/man8/man8.zaurus/MAKEDEV.8 @@ -1,10 +1,10 @@ -.\" $OpenBSD: MAKEDEV.8,v 1.8 2005/08/01 22:22:39 deraadt Exp $ +.\" $OpenBSD: MAKEDEV.8,v 1.9 2005/10/06 06:44:25 otto Exp $ .\" .\" THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. .\" generated from: .\" .\" OpenBSD: etc.zaurus/MAKEDEV.md,v 1.7 2005/08/01 22:22:14 deraadt Exp -.\" OpenBSD: MAKEDEV.common,v 1.20 2005/08/01 22:22:12 deraadt Exp +.\" OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp .\" OpenBSD: MAKEDEV.man,v 1.3 2004/03/12 18:12:12 miod Exp .\" OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp .\" @@ -23,7 +23,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd August 1, 2005 +.Dd October 6, 2005 .Dt MAKEDEV 8 zaurus .Os .Sh NAME |