Touch not implemented?
Marak opened this issue · 5 comments
Trying to run touch inside the mounted directory:
$ touch hello.txt
Seeing:
touch: hello.txt: Function not implemented
Is touch
not suppose to work?
did you implement .create in your handlers?
Will try again...
The library is causing serious issues on my Mac laptop.
Any uncaught errors in custom handler methods seem to put the mount into a bad state. Usually need to run umount ./mnt
or umount -f ./mnt
to fix.
Also seemed to have frozen Terminal.app
three times in the past hour. Two full computer restarts.
Yea the file system will block for some operations until you call the callback. This is how fuse works. You need to be extra careful in your handler code. Applications tend to not react well to stalled file systems as you say.
After reading the source, I figured it was the underlying fuse architecture.
Do you have any recommendations for doing local development so that it's not so easy to shoot yourself in the foot?
Are there any other commands I may need to run outside of umount -f
to restore / fix issues with breaking fuse?
touch
seems to be working now that I implemented create handler.
Thank you!