I have an Android tablet which uses MTP instead of USB Mass Storage for transferring files. I'd like to mount it in a FreeBSD machine.
I tried the method described here.
I installed mtpfs by going to
/usr/ports/sysutils/mtpfsand runningmake install cleanas I usually do to install ports.I enabled FUSE support by adding
fusefs_enable="YES"in/etc/rc.conf.I also added
fuse_load="YES"to/boot/loader.conf. (This is not in the original procedure, I was trying to get it to work)Added
vfs.usermount=1to/etc/sysctl.conf.After that, I rebooted the machine.
I tried to mount the tablet by running mtpfs /mnt/. As a non privileged user I receive a 'Permission denied' message. As root it apparently works. But cd'ing into the directoy I receive a 'Not a directory' message, which is the same problem described in the linked thread. I'm assuming there is something left out of the original instructions.
If there's any alternative to mtpfs, I'm also interested in hearing about that.