Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm -rf * , get can't remove xxx: Directory not empty #31

Closed
DreamPy opened this issue Oct 24, 2020 · 5 comments
Closed

rm -rf * , get can't remove xxx: Directory not empty #31

DreamPy opened this issue Oct 24, 2020 · 5 comments

Comments

@DreamPy
Copy link

DreamPy commented Oct 24, 2020

Problems encountered in use examples/tmpfs.py,Is there any solution

@Nikratio
Copy link
Contributor

Thank you for the report! Could you please provide some more details? Specifically, what exactly did you do to produce the problem? And are you able to reproduce it at will?

@DreamPy
Copy link
Author

DreamPy commented Nov 23, 2020

async def readdir(self, inode, off, token):

call function 'pyfuse3.readdir_reply' will fail when there are too many files

@DreamPy
Copy link
Author

DreamPy commented Nov 23, 2020

I have a question that i don't know how to block a method ?

@Nikratio
Copy link
Contributor

You will need to clarify what you mean with will fail and too many files. Could you maybe write small script script that triggers the failure?

@DreamPy
Copy link
Author

DreamPy commented Nov 23, 2020

sorry. i am not good at English, and i can't write script to trigger the failure because i don't know how exactly to trigger the failure. but i just run examples/tmpfs.py mountpoint, then copy my dotfiles to the mountpoint and the failure happen. i use tree command to count directory and file, it appear different results. number of dir or file is not equal. when i debug the tmpfs.py, i notice that "readdir" method does not work well!

@DreamPy DreamPy closed this as completed Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants