\Device\HarddiskVolumeX <-> \Device\HarddiskY\PartitionZ

Dear All,

\Device\HarddiskVolumeX <-> \Device\HarddiskY\PartitionZ
can anyone tell me how X, Y and Z values are bound
under Win2K? I’d like to know symlink for drives letters
in Y and Z values, but I can get only X value.

I have a decision in which I can enumerate all harddisks and
partitions, but is there a simplier way?

Thanx a lot,
Max Lyadvinsky

> \Device\HarddiskVolumeX <-> \Device\HarddiskY\PartitionZ

Cites from our internal document - maybe helpful to you:

"…creates a disk FDO on top of the scsiport’s PDO with the name:
\Device\Harddisk%d\DR%d

  • where the second decimal is the next value of some internal
    disk sequence number"

“…and creates 2 symlinks to the stack:
\Device\Harddisk%d\Partition0
\Device\PhysicalDrive%d
(decimals are the same in each symlink)”

"…PDO name is:
\Device\Harddisk%d\DP(%d)%%#I64x-%#I64x+%lx

  • where the second decimal is partition number
  • 2 64bit hex numbers are partition offset and length
  • last hex is the next value
    of some internal disk sequence number"

Max