CheckUsbHdd for all external HDD

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

CheckUsbHdd for all external HDD

Post by *LonerD »

Total Commander 8.0 public beta 18 (32/64)
Added: CheckUsbHdd=1 in wincmd.ini [Configuration]: Turn on/off check whether a harddisk is connected via USB, and show it with different icon (32/64)

Please, expand this option for ALL external HDD-drives - eSATA, IEEE 1394a etc
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Any idea how to detect eSATA devices? I'm currently using DeviceIoControl with parameter IOCTL_STORAGE_QUERY_PROPERTY, which can return one of these:

BusTypeUnknown = 0, BusTypeScsi, BusTypeAtapi, BusTypeAta, BusType1394, BusTypeSsa, BusTypeFibre, BusTypeUsb, BusTypeRAID, BusTypeiScsi, BusTypeSas, BusTypeSata.

Currently I'm only checking for BusTypeUsb. I can check for BusType1394 too. However, BusTypeSata will be returned for both internal and external drives...
Author of Total Commander
https://www.ghisler.com
Post Reply