From: John Joyce Date: 2007-12-02T14:31:43+09:00 Subject: Re: Identifying a volume as being an iPod Well, I've found better stuff to work with, more practical anyway. in: /Volumes/ipod_name_here/iPod_Control/Device/ there is a nifty little file called SysInfo I wouldn't dare modify it, but it is worth reading. In fact, I would almost recommend creating read-only method to wrap whatever methods you want to use to open and read the thing. Just to avoid any chance of stepping on this file. I have replaced my serial number with a five asterisks. You only need the first 3 characters of a serial number on the ipod to identify it. The most important line is line 3, the model number. You could, if you were diligent, check to see that the first 3 chars of the serial number match the model number for the type of iPod. If you were overly diligent, you could try to check the serial number against Apple's web site somewhere. Anyway, let's just say we've got more than enough to say the device is probably an iPod and is likely the one you want to transfer music from to an authorized iTunes. The odds of having multiple iPods connected to one computer are pretty low. It happens, but not much. That's no big deal, we just have to add a check to ask the user running the program which iPod they want to transfer from, since the name of the iPod is the same name in the terminal. Now all we need to do is script the Finder to move the files into iTunes! After I finish learning just enough AppleScript, I will convert it to RubyOSA... The file reads thus: BoardHwName: iPod M26 pszSerialNumber: 5U5*****TK2 ModelNumStr: MA107 FirewireGuid: 0x000A270012AE3CCB HddFirmwareRev: ADBA41KB RegionCode: J(0x0002) PolicyFlags: 0x00000000 buildID: 0x05118000 (5.1.1) visibleBuildID: 0x01118000 (1.1.1) boardHwRev: 0x00000000 (0.0 0) boardHwSwInterfaceRev: 0x000C0005 (0.0.12 5) bootLoaderImageRev: 0x00000000 (0.0 0) diskModeImageRev: 0x00000000 (0.0 0) diagImageRev: 0x00000000 (0.0 0) osImageRev: 0x00000000 (0.0 0) iPodFamily: 0x00000000 updaterFamily: 0x00000000