As cool as it would be to have chameleon autodetect EVERY OS IN THE WORLD!!!!1!!!eleven!...
*ahemm* sorry, don't know what has gotten into me...
Since this is coming up very frequently (at least it seems like that to me) maybe the following might be sensible:
- have a configuration option which can map partitions "(hdX,Y)" to icon filenames
- try to read a file "(hdX,Y).png" from the theme directory.
Not as elegant, I admit, but also much less hassle to keep in sync with all the OSes out there, and much less time consuming in the long run (after all, developer time is a scarce resource).