Again I don't want to have to rely on the file structure of either the internal memory or the card. I think that's just asking the user to perform one step more than necessary. ioreg sounds like it might work, though having to run a commandline program just to find out what devices are attached to the system seems like a lot of unnecessary overhead. Maybe I'll just have to bite the bullet and look at IOKit.
|