Commit 50460387 authored by Mike Hibler's avatar Mike Hibler

Bug fix: properly handle freebsd-to-linux name mapping for "ada" disks.

parent 3f187bd1
......@@ -26,8 +26,14 @@ case $disk in
dtype="sd"
dunit=`expr $dunit - 24`
;;
# new SATA
ada[0-7])
dunit=`echo $disk | sed -e 's/ada\([0-7]\)/\1/'`
dtype="sd"
old_dtype="sd"
;;
# SCSI
da[0-7]|ada[0-7])
da[0-7])
dtype="sd"
old_dtype="sd"
;;
......
Markdown is supported
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