macos Mac 中 iPod/iPhone 的挂载点在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5844586/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is the mount point for the iPod/iPhone in Mac?
提问by Sheldon
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.
我正在考虑通过制作一个与 iPod/iPhone 同步的音乐播放器来提高我的编程技能,但如果我什至无法访问该设备,即使开始也毫无意义!我花了一整天的时间在谷歌上搜索,但似乎找不到我要找的东西。
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'..
我不想通过 ssh 连接到 iPod 或越狱等。我要么正在寻找自己访问它的方法,要么使用我认为是一个简单脚本的方法。我知道这是可能的,因为您可以使用诸如“iPhone Explorer”之类的东西。
Thanks :-D
感谢:D
回答by ughoavgfhw
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 libimobiledevicewhich 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 libgpodto sync music/videos.
iOS 设备没有挂载点,因为计算机不会将它们视为数据驱动器。相反,数据是通过 usbmuxd 发送的,它直接通过 USB 连接。有一个名为libimobiledevice的库,它使用越狱社区逆向工程的信息,允许您与 iDevices 进行通信(除非您想要完整的文件系统访问权限,否则不需要越狱,越狱者只是进行逆向工程的动机)。根据他们的主页,您还需要libgpod来同步音乐/视频。
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.
如果您说“iPod”是指非 iOS iPod 而不是 iPod touch,那么它们是作为普通硬盘安装的。如果您使用磁盘模式或在 iTunes 中打开该选项,它们将显示在您的桌面上,否则可以通过命令行访问。
回答by Fran?ois Lagunas
You may want to look at iphoneDisk : http://code.google.com/p/iphonedisk/
你可能想看看 iphoneDisk :http: //code.google.com/p/iphonedisk/
It uses MacFuse, so it's not supported under Lion, but it still works very well under Snow Leopard.
它使用 MacFuse,因此在 Lion 下不受支持,但在 Snow Leopard 下它仍然运行良好。
However, you may not be able to access everything on your iPhone, but you can at least access recordings, photos and video.
但是,您可能无法访问 iPhone 上的所有内容,但您至少可以访问录音、照片和视频。
回答by hhony
I answered a similar question for an iPhone. I'm sure it would also work for an iPod (although untested).. the concept is the same, as it's an Apple USB device.
我为 iPhone 回答了类似的问题。我确信它也适用于 iPod(虽然未经测试)。概念是一样的,因为它是一个 Apple USB 设备。
answer: use ifuse
答案:使用 ifuse
https://superuser.com/a/1135668/653172
https://superuser.com/a/1135668/653172
If you like paying for things.. you could probably checkout iExplorer.
如果你喜欢花钱买东西……你可以看看 iExplorer。