-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When connecting iPhone, only its "Documents" directory is mounted #1543
Comments
The mounting of the Documents and Photos drives is normal behaviour, iOS (from iOS 11 onwards afaik) only exposes those 2 folders to file managers. iOS does not under any circumstances expose it's root filesystem to anyone other than itself (not intentionally anyway), what you are seeing is the limit of what libimobiledevice can read. It would be backwards to mount the /dev/disk0s1s2s (which is the folder you are seeing) directly, since the only remotely useful 2 things you can do in that directory is managing Documents, or importing photos. |
I think it brings much more value to mount the “/dev/disk...” (which I was calling “root”) by default instead of the Documents folder. Then you get access to any directory that you need. And this is actually more than just Photos and Documents there. You can:
With the default behavior, a typical user gets an impression that he can access ONLY Documents. This is clearly an issue. |
The camera you see at the side is supposed to be the DCIM folder, I'm not sure why yours is empty. What iOS version is your iPhone? |
It's 14.2 |
Right, this is the same thing. @jeremypw What is then the current behavior in eOS6 when iPhone/iPod is connected? What will be in the sidebar of Files? |
@Loreno10 I do not actually have an iPhone to fully test this but my understanding is that the afore-mentioned commit at least allows the missing directory to be mounted and used although it may not appear in the best place in the Sidebar. As Sidebar code is potentially going to be re-written cosmetic issues may not get fixed before then. Ideally an iPhone using dev should work on this. |
@jeremypw I should probably mention that I'm not able to mount the "Documents" folder with iOS 14 or iOS 12 on Odin. I presume this is because Files is mounting /private/var/mobile/Media which seems to be useless for anything other than accessing DCIM and voice recording. |
@hanaral Files relies on gvfs and the underlying system to be informed of Drives/Volumes/Mounts that appear when a device is connected. As I am not an iOS user I am unable to test where the problem lies so I'll have to wait for another dev to address this. |
@jeremypw I just tested this on Fedora: reading and writing to file provider storage with nautilus on Fedora works almost flawlessly, while trying to do the same (with nautilus) on elementary results in the app hanging and at worst, blocking unmounting. |
@hanaral What kind of data would you want to write TO iOS device? Usually, I think the other way is more desired - being able to read data from the iOS device to PC. However, I tried to copy something from my PC into Downloads folder on iPhone - the file copied there and I see it in both eOS Files and Nautilus, but on iPhone's Files app it's not visible there. Btw, Nautilus behaves pretty much the same as eOS Files when iPhone is connected to the PC:
I'm on eOS 5.1.7 if that matters. If you need me to check anything else, let me know. |
Being able to read from the iPhone isn't too much of an issue for me, apart from the lock ups. Due to iOS presenting the DCIM folder and images via the same standard that cameras use (I believe it just presents itself as a storage device, which is why you can read downloaded iTunes songs too), it's functions are mostly fine. |
@hanaral Actually I am able to write data onto iPhone, and then (I disconnected it and connected again), I am able to get the file back. (eOS 5.1.7 - Files) I wrote the file into "Downloads" folder on iPhone. |
@Loreno10 I am aware, and this is useful - if you’re jailbroken, because otherwise there is ironically no way to access that virtual folder on the iPhone 😂 |
Description
When I conntect an iPhone I see this in the sidebar of Files:
When I click on "Documents on iPhone" I see this (after waiting for Files to unfreeze, as mentioned in #1541):
The contents above is just the "Documents". I can't easily navigate to the DCIM directory to see pictures, access Downloads, etc. In order to access the "root" directory of iPhone I have to manually edit the path at the top:
I had to remove
:3
from the end of the path. This way I finally get access to the "root" directory:Why it's wrong
I believe that access to the "root" directory should be mounted by default, instead of the "Document" directory. It is not easy to figure out how the path should be modified to get to what you need.
Version
eOS 5.1.7
The text was updated successfully, but these errors were encountered: