#927 gphotofs makes all statfs/fstatfs calls fail with ENOSYS

closed-fixed
gphotofs (2)
5
2012-11-12
2012-11-10
Yuri
No

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.

Discussion

  • Yuri
    Yuri
    2012-11-11

    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.

     
    • assigned_to: nobody --> marcusmeissner
    • status: open --> pending-fixed
     
  • 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

     
  • Yuri
    Yuri
    2012-11-12

    • status: pending-fixed --> closed-fixed
     
  • Yuri
    Yuri
    2012-11-12

    I can't reproduce any more. Must have been some temporary issue.
    Closing.