Question: I want to understand where logical drives (e.g. C:, D:) are mapped on physical drives (e.g. I have a Western Digital and a Toshiba physical disks connected to my laptop).

On Linux, I would do something like:

lsblk

to see the filesystem layout. ?Then

ls -lh /dev/disk/by-id

to see how filesystems are mapped to physical devices (the ID’s usually have the name of the device in them).


How can I achieve something similar in MS Windows? ?I tried looking in Control Panel Device Manager, but there’s no useful info there. Not in the properties of logical drives either. ?Googling found me the wmic utility, but either I don’t understand its output or the information isn’t there.

Answer: The easiest and most obvious way would be to use Computer Management.

Computer Management is located through Start > Control Panel > Administrative Tools > Computer Management

From here, find Storage > Disk Management

Alternatively, you can type diskmgmt.msc in the Run Dialog or from a Command Prompt.

Diskmanagement gives you the information you requested. All drives, with their partitions, and how they are partitioned.

At the bottom of Disk Management, you’ll find a graphical overview of the disks. Rightclicking a disk and choosing properties gives you the information for that specific disk.

If you seek a commandline tool that works similar, then diskpart is what you’re after.