I'm working on a Windows diskless boot solution (using SRP over an
Infiniband adapter) and I need to know on behalf of which miniport
each \Device\HardDisk%d device object was created. This is so that I
can distinguish the Disk device objects that were created on behalf of
my SRP SCSI miniport from those corresponding to local hard drives.
This lets me choose the proper partition to mount the boot volume from.

I know how to get the device objects for each \Device\HardDisk%d, but
I don't know how to tell which SCSI (or whatever) miniport discovered
the physical drive that the object represents.

Any advice would be appreciated.

Rob Netzer
System Fabric Works, Inc.
rob@systemfabricworks.com

Re: Which miniport created \Device\HardDisk%d? by Maxim

Maxim
Mon Jun 19 14:12:59 CDT 2006

Try scanning HKLM\HARDWARE\DEVICEMAP

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<googlex12@bolabs.com> wrote in message
news:1150743155.030373.40050@y41g2000cwy.googlegroups.com...
> I'm working on a Windows diskless boot solution (using SRP over an
> Infiniband adapter) and I need to know on behalf of which miniport
> each \Device\HardDisk%d device object was created. This is so that I
> can distinguish the Disk device objects that were created on behalf of
> my SRP SCSI miniport from those corresponding to local hard drives.
> This lets me choose the proper partition to mount the boot volume from.
>
> I know how to get the device objects for each \Device\HardDisk%d, but
> I don't know how to tell which SCSI (or whatever) miniport discovered
> the physical drive that the object represents.
>
> Any advice would be appreciated.
>
> Rob Netzer
> System Fabric Works, Inc.
> rob@systemfabricworks.com
>