View | Details | Raw Unified | Return to bug 29971
Collapse All | Expand All

(-)MAKEDEV (-10 / +10 lines)
Lines 1079-1087 Link Here
1079
	;;
1079
	;;
1080
1080
1081
bpf*)
1081
bpf*)
1082
	nbpf=`expr $i : 'bpf\(.*\)$'`
1082
	units=`expr $i : 'bpf\(.*\)$'`
1083
	unit=0
1083
	unit=0
1084
	while [ $unit -le $nbpf ]; do
1084
	while [ $unit -le $units ]; do
1085
		mknod bpf$unit c 23 `unit2minor $unit`
1085
		mknod bpf$unit c 23 `unit2minor $unit`
1086
		unit=$(($unit + 1))
1086
		unit=$(($unit + 1))
1087
	done
1087
	done
Lines 1164-1172 Link Here
1164
#       the manual that comes with the system.
1164
#       the manual that comes with the system.
1165
ttyA*)
1165
ttyA*)
1166
	major=68
1166
	major=68
1167
	nports=`expr $i : 'ttyA\(.*\)$'`
1167
	units=`expr $i : 'ttyA\(.*\)$'`
1168
	port=1
1168
	port=1
1169
	while [ $port -le $nports ]; do
1169
	while [ $port -le $units ]; do
1170
		minor=$(expr $port - 1)
1170
		minor=$(expr $port - 1)
1171
		name=$(printf %02d $port)
1171
		name=$(printf %02d $port)
1172
		mknod ttyA$name c $major $minor
1172
		mknod ttyA$name c $major $minor
Lines 1181-1189 Link Here
1181
cuaA*)
1181
cuaA*)
1182
	umask 7
1182
	umask 7
1183
	major=68
1183
	major=68
1184
	nports=`expr $i : 'cuaA\(.*\)$'`
1184
	units=`expr $i : 'cuaA\(.*\)$'`
1185
	port=1
1185
	port=1
1186
	while [ $port -le $nports ]; do
1186
	while [ $port -le $units ]; do
1187
		minor=$(expr $port - 1)
1187
		minor=$(expr $port - 1)
1188
		name=$(printf %02d $port)
1188
		name=$(printf %02d $port)
1189
		mknod cuaA$name c $major `expr $minor + 128` uucp:dialer
1189
		mknod cuaA$name c $major `expr $minor + 128` uucp:dialer
Lines 1541-1558 Link Here
1541
	;;
1541
	;;
1542
1542
1543
tun*)
1543
tun*)
1544
	ntun=`expr $i : 'tun\(.*\)$'`
1544
	units=`expr $i : 'tun\(.*\)$'`
1545
	unit=0
1545
	unit=0
1546
	while [ $unit -le $ntun ]; do
1546
	while [ $unit -le $units ]; do
1547
		mknod tun$unit c 52 `unit2minor $unit`
1547
		mknod tun$unit c 52 `unit2minor $unit`
1548
		unit=$(($unit + 1))
1548
		unit=$(($unit + 1))
1549
	done
1549
	done
1550
	;;
1550
	;;
1551
1551
1552
tap*)
1552
tap*)
1553
	ntap=`expr $i : 'tap\(.*\)$'`
1553
	units=`expr $i : 'tap\(.*\)$'`
1554
	unit=0
1554
	unit=0
1555
	while [ $unit -le $ntap ]; do
1555
	while [ $unit -le $units ]; do
1556
		mknod tap$unit c 149 `unit2minor $unit` root:network
1556
		mknod tap$unit c 149 `unit2minor $unit` root:network
1557
		unit=$(($unit + 1))
1557
		unit=$(($unit + 1))
1558
	done
1558
	done

Return to bug 29971