Re: Re: How to get the physical device name of a dynamic disk volume

Home Forums Discussions General Discussion How to get the physical device name of a dynamic disk volume Re: Re: How to get the physical device name of a dynamic disk volume

#6757

jludwig
Participant

DeviceHarddiskDmVolumesMybondDg0Volume2 is a symbolic link to DeviceHarddiskDmVolumesPhysicalDmVolumesBlockVolume2 . When I write code to find the device name, I call QueryDosDevice iteratively until it fails (assuming it succeeded at least once). That way if a symbolic link points to another, you’ll find the actual kernel name.