mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
Backout rev 1.175.
This commit is contained in:
parent
dc8be6a8f5
commit
255e0e14be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40776
36
etc/MAKEDEV
36
etc/MAKEDEV
@ -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
|
||||
;;
|
||||
|
||||
|
@ -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
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user