Backout rev 1.175.

This commit is contained in:
David E. O'Brien 1998-10-31 05:27:02 +00:00
parent dc8be6a8f5
commit 255e0e14be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40776
2 changed files with 32 additions and 40 deletions

View File

@ -473,26 +473,22 @@ ccd*)
umask $disk_umask
name=ccd
blk=21; chr=74
nccd=`expr $i : '...\(.*\)'`
unit=0
while [ $unit -le $nccd ]; do
case $unit in
[0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
for part in 0 1 2 3 4 5 6 7
do
minor=`dkminor 0 $unit 0 $part`
partname=`dkitop $part`
mknod $name$unit$partname b $blk $minor
mknod r$name$unit$partname c $chr $minor
done
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
;;
*)
echo bad unit for disk in: $i
;;
esac
unit=`expr $unit + 1`
done
unit=`expr $i : '...\(.*\)'`
case $unit in
[0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
for part in 0 1 2 3 4 5 6 7
do
minor=`dkminor 0 $unit 0 $part`
partname=`dkitop $part`
mknod $name$unit$partname b $blk $minor
mknod r$name$unit$partname c $chr $minor
done
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
;;
*)
echo bad unit for disk in: $i
;;
esac
umask 77
;;

View File

@ -473,26 +473,22 @@ ccd*)
umask $disk_umask
name=ccd
blk=21; chr=74
nccd=`expr $i : '...\(.*\)'`
unit=0
while [ $unit -le $nccd ]; do
case $unit in
[0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
for part in 0 1 2 3 4 5 6 7
do
minor=`dkminor 0 $unit 0 $part`
partname=`dkitop $part`
mknod $name$unit$partname b $blk $minor
mknod r$name$unit$partname c $chr $minor
done
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
;;
*)
echo bad unit for disk in: $i
;;
esac
unit=`expr $unit + 1`
done
unit=`expr $i : '...\(.*\)'`
case $unit in
[0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
for part in 0 1 2 3 4 5 6 7
do
minor=`dkminor 0 $unit 0 $part`
partname=`dkitop $part`
mknod $name$unit$partname b $blk $minor
mknod r$name$unit$partname c $chr $minor
done
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
;;
*)
echo bad unit for disk in: $i
;;
esac
umask 77
;;