Commit 23825849 authored by Dan Reading's avatar Dan Reading
Browse files

checking for drives /dev/da is a c device not a block device

parent ae786f01
......@@ -90,7 +90,7 @@ getdrivenames() {
list="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"
for i in $list
do
[[ -b /dev/da${i} ]] && drivelist+="/dev/da${i} "
[[ -c /dev/da${i} ]] && drivelist+="/dev/da${i} "
[[ -c /dev/ad${i} ]] && drivelist+="/dev/ad${i} "
[[ -c /dev/amrd${i} ]] && drivelist+="/dev/amrd${i} "
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment