Closed zxkane closed 9 years ago
I believe these are accesses done by the operating system which probes for "hidden" stuff that is used for some operating system specific functionality, e.g. caches, meta-data, trash-can, ...
I saw similar accesses in my project which uses fuse-jna and there I ignored those that I encountered, see IGNORED_DIRS
@centic9 Thanks for your explanation. Your project JGitFS really inspired me a lot when I am writing my project.
Yes, those are indeed just probes by your operating system, file manager, and whatever you have running on your machine. They do that to every filesystem, and they all have to handle that.
I am using
fuse-jna
library to create a custom FS. When debugging my code, the callbackreaddir
was called firstly whencd
orls
a folder. It works fine. In myreaddir
implementation, some files and folder in that dir path were found, for example,However the callback
getattr
were called many times for known(in above list) and unknown path(at least they were not returned by the callbackreaddir
).For example, I did see below path in
getattr
callback,Do you have any idea why callback
getattr
were called with above non-existing path? They are annoying and might impact the performance.