Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
544 views
in Technique[技术] by (71.8m points)

macos - Where is the mount point for the iPod/iPhone in Mac?

I'm thinking of improving my programming skills by making a music player to sync with an iPod/iPhone but there's no point in even starting if I can't even access the device! I've spent all day googling but can't seem to find what I'm looking for.

I don't want to ssh to the iPod or Jailbreak it etc. I'm either looking for a way to access it myself or using what I assume would be a simple script. I know it's possible because you can use things like 'iPhone Explorer'..

Thanks :-D

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

iOS devices do not have a mount point because the computer does not treat them as data drives. Instead, data is sent through usbmuxd, which connects directly through USB. There is a library called libimobiledevice which uses the information reverse engineered by the jailbreaking community to allow you to communicate with iDevices (It doesn't require a jailbreak unless you want full filesystem access, the jailbreakers were just the ones motivated to do the reverse engineering). According to their homepage, you will also need libgpod to sync music/videos.

If when you say "iPod" you mean non-iOS iPods and not the iPod touch, then they are mounted as normal hard drives. They will show up on your desktop if you use disk mode or turn on the option in iTunes, and can be accessed through the command line otherwise.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...