diff options
author | mav <mav@FreeBSD.org> | 2013-04-04 12:03:30 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-04-04 12:03:30 +0000 |
commit | e24314009c92d0c7508a797796bb45fcbd93f404 (patch) | |
tree | 3137c64ff168d0b2eda8f9649df2140865800451 /usr.sbin/pc-sysinstall | |
parent | ba9ca7951e5c41681cad18df49891ee3139cacf6 (diff) | |
download | FreeBSD-src-e24314009c92d0c7508a797796bb45fcbd93f404.zip FreeBSD-src-e24314009c92d0c7508a797796bb45fcbd93f404.tar.gz |
Remove some more references to legacy ATA.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend-query/disk-list.sh | 9 |
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 d390cbb..2616ef9 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 |