Can someone help me find the documentation of the algorithm used to assign logical drive numbers for disk devices? When I say "drive numbers" I mean the "
#" in /dev/hda
#.
If someone wants to correct my terminology feel free; I am not sure what is correct for Unix/Linux.
I betcha if I don't say that it is not sequential someone will say I don't need documentation that it is just sequential from the first partition to the last on the physical drive. I know that hard drive partitions can be primary, extended and logical partitions or something like that. I did know all about them a few years ago but I need to refresh my memory. I can do that but the important thing is that it appears to me that linux does not assign the numbers strictly sequentially.
The reason I am asking is because I want to know how to relate Unix/Linux drive designations to Windows drive letters. The Unix algorithm is simpler since a drive's designation is independent of the other drives but I can figure out the Windows algorithm.