Skip to content

Vanishing mountpoint on Fedora 21 / Android 4.2.2 #18

@Marek77

Description

@Marek77

I installed adbFS but I am unable to access the phone contents. Mount and umount seem to work but the mountpoint "vanishes":

$ adb shell ls /mnt/sd*
/mnt/sdcard
/mnt/sdcard2

adb is working fine, I can list contents of both SD cards, push/pull no problem. I installed adbFS like this:

$ cd ~/tools
$ git clone https://github.com/isieo/adbFS.git
...
$ cd adbFS
$ make
g++ -c -o adbfs.o adbfs.cpp -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse 
g++ -o adbfs adbfs.o -lfuse -pthread 
$ sudo cp adbfs /usr/local/bin/

Test:

$ mkdir $HOME/phone
$ adbfs $HOME/phone -o modules=subdir -o subdir=/mnt/sdcard/        
--*-- exec_command: rm -rf /tmp/adbfs
$
$ mount | grep phone
adbfs on /home/schimaram/phone type fuse.adbfs (rw,nosuid,nodev,relatime,user_id=1001,group_id=1002)
$
$ ls -la $HOME | grep phone
ls: cannot access /home/schimaram/phone: No such file or directory
d??????????   ? ?         ?                 ?            ? phone
$
$ fusermount -u /home/schimaram/phone                     
$
$ mount | grep phone                 
$

The same happens if I do just adbfs /home/schimaram/phone to mount.

More info:

$ uname -a
Linux b015453-ux 3.18.9-200.fc21.x86_64 #1 SMP Mon Mar 9 15:10:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$
$ rpm -qa \*fuse\* \*android\*
ifuse-1.1.3-5.fc21.x86_64
fuse-sshfs-2.5-1.fc21.x86_64
android-tools-20141219git8393e50-2.fc21.x86_64
fuse-devel-2.9.3-4.fc21.x86_64
fuse-2.9.3-4.fc21.x86_64
fuse-libs-2.9.3-4.fc21.x86_64
$

Git: branch "master" SHA1 b687e00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions