Here is my log attempting to mount MTP smartphone on FreeBSD. When I am trying to mount it using gphotofs-0.4.0 I can't access the files through the mountpoint.
$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note usb:/dev/usb,/dev/ugen3.2
# gphotofs ~yuri/mountpoint/
# ls ~yuri/mountpoint
ls: /home/yuri/mountpoint: Function not implemented
-- command leaves the mountpoint and gphotofs process but error occurs
"Function not implemented" corresponds to ENOSYS error code.
This error makes such filesystem unusable. Commands like 'ls' call fstatfs first and fail.
I am not sure why, but I can't reproduce this error in exactly the same environment.
Will watch it longer and see it it will come back.
this sounded like the user filesystem layer"fuse" was not working correctly on first try, like the module npot loaded or similar.
please report back if it can be reproduced
I can't reproduce any more. Must have been some temporary issue.
Closing.