Can I get a list of device names for Windows?

How to use TestDisk to recover lost partition
Post Reply
Posts: 1
Joined: 18 Jun 2013, 23:45

Can I get a list of device names for Windows?

#1 Post by acsmith » 18 Jun 2013, 23:53


I apologize for creating a topic for this, but when I used the search tool I couldn't find an answer to this question.

In the documentation for scripted run it states: "Use the device name, ie /dev/hda, /dev/hdb, /dev/sda."

This is really easy to find in *nix, but what about Windows? When I run Testdisk interactively, I see /dev/sda and /dev/sdd (no B or C) and those are my C drive and my H drive, removable flash drive.

Is there any way to get a reliable list of these 'device names'? Either through a command in TestDisk/PhotoRec scripted run, or some DOS command?

*EDIT* I found the answer to my problem, the clues were in the Windows Computer Management utility, Disk Management tab. "Disk 0" = /dev/sda, corresponding to the physical disk itself. The C drive exists on the third partition, but that is meaningless from the perspective of a file recovery system.

Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest