Sample Header Ad - 728x90

Where is my Android device mounted inside my Linux?

2 votes
0 answers
2037 views
I am trying to run a bash script on certain folder inside an Android phone, mounted in my Fedora Linux box. I can see that the phone is there with adb devices (no, I do not want to use ADB for this!), I can see the phone folders using dolphin, I can even see that the phone is there with mount, showing: kio-fuse on /run/user/500/kio-fuse-JhdSvC type fuse.kio-fuse (rw,nosuid,nodev,relatime,user_id=500,group_id=500) Yet, the folders /run/user/500/kio-fuse-JhdSvC, /run/user/500/gvfs, /run/user/500/gvfsd and ~/.gvfs are all empty, even when I see the folders in Dolphin. I also tried to mount the phone as I used to, with the command simple-mtpfs -o allow_root -o enable-move /mnt/phone, but I get: LIBMTP PANIC: Trying to dump the error stack of a NULL device So: how can I know in which folder in my filesystem the thing is mounted? Why is the folder /run/user/500/kio-fuse-JhdSvC empty? **EDIT**: Following this advice I am able to prevent KDE from automouting the Android Device as mtp. Yet, the popup in the phone to "Allow USB..." disappears as soon as it appears, so I cannot click on it.
Asked by Luis A. Florit (509 rep)
Oct 15, 2022, 12:43 PM
Last activity: Oct 15, 2022, 03:23 PM