Talk:WindowsDevicePaths
From coLinux
My contribution about mapping from windows device names to unix device names is based on a foggy 2-year-old memory... I contributed the original to one of the former colinux wikis, but it seems to have been lost. GRRRR. I now need this information and have had to re-discover parts of it. But I'm not willing to do all the testing over again. If this info is wrong, hopefully someone will correct it here. I figure it is better to provide close-but-not-quite information than to leave people stumbling in the dark.
The most importend informations are
- Windows starts with \Device\Harddisk0\Partition1 for first partition on hda
- Windows counts only used partitions
- Windows don't counts the extended partition
- The filesystem does no matter for partition counts
- hda is Harddisk0, hdb is Harddisk1, ...
So it's more simple: Create a table with list of used Partitions seen from Linux and write down a count for windows on other side, starts with Partition1
A example, only primary partitions
/dev/hda1 \Device\Harddisk0\Partition1 /dev/hda2 \Device\Harddisk0\Partition2 /dev/hda3 \Device\Harddisk0\Partition3
B example, one primary and 2 extended partitions
/dev/hda1 \Device\Harddisk0\Partition1 /dev/hda2 extended is hidden /dev/hda5 \Device\Harddisk0\Partition2 /dev/hda6 \Device\Harddisk0\Partition3
C example, full 3 primaries and 2 extended partitions
/dev/hda1 \Device\Harddisk0\Partition1
/dev/hda2 \Device\Harddisk0\Partition2
/dev/hda3 \Device\Harddisk0\Partition3
/dev/hda4 extended is hidden
/dev/hda5 \Device\Harddisk0\Partition4
/dev/hda6 \Device\Harddisk0\Partition2
simple count 1+ here ---------------------^