How can I identify the SATA port for a physical drive? RRS feed

  • Question

  • My audio editing application uses 4 SATA drives mounted in canisters in a cage for easy removal and exchange.  The drives are read/written to in a propriatory format using a handle to \\.\PhysicalDrive, and each drive slot in the removable cage is physically connected to a known SATA port on the motherboard with AHCI enabled using XP professional SP3.

    Given a handle to the drive, I need to know which slot in the cage (identifiable from the SATA port)  a drive has been inserted.  How can I obtain this information?


    Godfrey Small.


    Wednesday, December 22, 2010 10:12 AM


  • DOH - completely the wring place.
    • Marked as answer by Thingfish47 Wednesday, December 22, 2010 10:14 AM
    Wednesday, December 22, 2010 10:14 AM