3

Under cygwin on Windows 7, how would I certainly determine the hard drive that some path /dev/sd* corresponds in Windows?

For example, given cygwin path /dev/sdc, which Windows letter drive does it correspond, C:\, D:\, etc.?

The following don't appear available within cygwin; tool lshw, tool parted, path /dev/disk/....

4

1 Answer 1

4

Assuming you are asking how to map Windows Disk to devices:

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0 175825944 sda
    8     1 175824896 sda1   C:\
    8    16 1953514582 sdb
    8    17 1953512448 sdb1   E:\
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.