diff options
author | sos <sos@FreeBSD.org> | 2000-08-11 09:22:34 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-08-11 09:22:34 +0000 |
commit | 140ba3a556add069ba84e27cd2e9c3d0af5e207d (patch) | |
tree | 3b931d22928c618ec8d3da84a736aca67b16177b /etc | |
parent | 5337af51e2fa254d3bd344f4b33fb8eac60a0066 (diff) | |
download | FreeBSD-src-140ba3a556add069ba84e27cd2e9c3d0af5e207d.zip FreeBSD-src-140ba3a556add069ba84e27cd2e9c3d0af5e207d.tar.gz |
Add the acdNt# devices to the acd entry, for individual track access.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index c6c7b35..4fffd06 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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 |