]> oss.titaniummirror.com Git - ovzbpc.git/commit
Dynamically find SCSIDEV
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 7 Feb 2013 23:27:47 +0000 (16:27 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 7 Feb 2013 23:27:47 +0000 (16:27 -0700)
commitd6b2a7fe2bd82b6202c3c8e00c7ab19d7b4b263d
treeb297e2e982ec13386e53fa5cefa1fd8f51270e70
parentd2e3c016d7dc89001f68df48b02a592f31bdfa82
Dynamically find SCSIDEV

Working from the expected device, BASEDEV, determine the SCSI host value
by interrogating the /sys filesystem.  This prevents registration from
working, but now the device should automatically register when plugged
in (hot swap drive on a sil3132 chipset).  This allows the device to be
properly unregistered regardless of the attached scsi host.
esata