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
[FUSE API] invalid command line options are ignored instead of causing an error #516
Comments
I believe this was done on purpose. I do not recall the exact reason why, but I believe this was to match the behavior of OSXFUSE at the time the WinFsp-FUSE layer was written. (I seem to recall that I was porting an OSXFUSE file system to Windows at the time, which relied on the OSXFUSE libfuse command line parser ignoring unknown options. I may also be completely hallucinating this as it has been 7+ years since this work was done.) |
Thanks for getting back! Interesting. If failing is not a option for whatever reason, maybe as least a warning could be added in case an invalid option is being ignored? |
A warning might make sense. BTW, are you using |
I am using all of However, I can't decide if an option like |
Bug Report
Running a FUSE driver on Linux with an invalid option:
The same on Windows using WinFsp:
In particular, even valid options with invalid values just seem to be ignored (it's hard to tell due to the lack of feedback):
For options internal to my FUSE driver, invalid values are actually handled:
How to Reproduce
See above.
Behaviors
I'd expect both invalid options as well as invalid values for valid options to cause an error to be reported.
Environment
The text was updated successfully, but these errors were encountered: