Does anybody know how to identify a mounted volume as being an iPod ?
Or even more generally useful, is there a lib or gem to help identify  
the type of volume or disk ?

I'm currently working on a prog to help transfer songs from your iPod  
to an authorized iTunes account.
iTunes itself makes it easy to transfer "purchased songs", that is,  
songs that are identified as purchased through iTunes, but fails to  
offer an easy method to transfer songs that you did not buy through  
iTunes, such as tracks you ripped from a CD.

Opening the directories that hold the music on an iPod is dead  
simple, even opening them as Finder windows on OS X, but the two  
areas that are stopping me know are:
1-- making an automated identification of the iPod
2-- actually moving the songs to the iTunes library.

The second one is something I'm currently learning AppleScript in  
order to make it feasible, perhaps with the rubyOSA gem.
Ideally, I would like to make it cross platform, but I don't have any  
Windows, so it would be up to somebody else to add that later.