aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pc-sysinstall
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2013-04-04 12:03:30 +0000
committerAlexander Motin <mav@FreeBSD.org>2013-04-04 12:03:30 +0000
commitb296309582a89619b1557b1d90cfab42b9a7aeb9 (patch)
tree3137c64ff168d0b2eda8f9649df2140865800451 /usr.sbin/pc-sysinstall
parentae0ac787f2958390382583bf7e48bbc1e1437686 (diff)
Notes
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-xusr.sbin/pc-sysinstall/backend-query/disk-list.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/pc-sysinstall/backend-query/disk-list.sh b/usr.sbin/pc-sysinstall/backend-query/disk-list.sh
index d390cbbe99e4..2616ef9bf5e8 100755
--- a/usr.sbin/pc-sysinstall/backend-query/disk-list.sh
+++ b/usr.sbin/pc-sysinstall/backend-query/disk-list.sh
@@ -82,15 +82,10 @@ do
esac
fi
- # Try and find some identification information with camcontrol or atacontrol
+ # Try and find some identification information with camcontrol
NEWLINE=$(camcontrol identify $DEV 2>/dev/null | sed -ne 's/^device model *//p')
if [ -z "$NEWLINE" ]; then
- # Now try atacontrol
- NEWLINE=$(atacontrol list 2>/dev/null | sed -n "s|^.*$DEV <\(.*\)>.*|\1|p")
-
- if [ -z "$NEWLINE" ]; then
- NEWLINE=" <Unknown Device>"
- fi
+ NEWLINE=" <Unknown Device>"
fi
if [ -n "${FLAGS_MD}" ] && echo "${DEV}" | grep -E '^md[0-9]+' >/dev/null 2>/dev/null