diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-11-12 10:21:43 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-11-12 10:21:43 +0000 |
commit | d6e191ba93e7188a95b6b4fd73dbfa9157dda3ac (patch) | |
tree | b7922738087442890c4593eda919fd9bd47ab78c /scripts | |
parent | 01a118fb35301362b2139eff62d1e33e9b634ac9 (diff) | |
download | sg3_utils-d6e191ba93e7188a95b6b4fd73dbfa9157dda3ac.tar.gz |
sg_scan(win32): expand limits for big arrays; rescan-scsi-bus: widen LUN 0 only scanning; add SG_LIB_WINDOWS_ERR
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@795 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rescan-scsi-bus.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rescan-scsi-bus.sh b/scripts/rescan-scsi-bus.sh index 6989208a..a2aa8d81 100755 --- a/scripts/rescan-scsi-bus.sh +++ b/scripts/rescan-scsi-bus.sh @@ -376,7 +376,7 @@ idlist () oldlist=$(ls /sys/class/scsi_device/ | sed -n "s/${host}:${channel}:\([0-9]*:[0-9]*\)/\1/p" | uniq) # Rescan LUN 0 to check if we found new targets - echo "${channel} - 0" > /sys/class/scsi_host/host${host}/scan + echo "${channel} - -" > /sys/class/scsi_host/host${host}/scan newlist=$(ls /sys/class/scsi_device/ | sed -n "s/${host}:${channel}:\([0-9]*:[0-9]*\)/\1/p" | uniq) for newid in $newlist ; do oldid=$newid |