1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Add the acdNt# devices to the acd entry, for individual track access.

This commit is contained in:
Søren Schmidt 2000-08-11 09:22:34 +00:00
parent 071e6e581e
commit ea5cb0b3c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64531

View File

@ -810,6 +810,16 @@ acd*|cd*|mcd*|scd*)
mknod ${dname}c c $chr $(($i * 8 + 2)) root:operator
ln -f ${dname}a r${dname}a
ln -f ${dname}c r${dname}c
if [ $name = "acd" ]; then
rm -rf ${dname}t*
j=0
while [ $j -le 99 ]; do
mknod ${dname}t$j c $chr \
$((($i * 8) + (65536 * $j))) \
root:operator
j=$(($j + 1))
done
fi
i=$(($i + 1))
done
else