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

"Unknown option" error with WinFUSE #11

Open
RayyanAnsari opened this issue Feb 20, 2023 · 2 comments
Open

"Unknown option" error with WinFUSE #11

RayyanAnsari opened this issue Feb 20, 2023 · 2 comments

Comments

@RayyanAnsari
Copy link

I'm trying to port the pyfuse3 library to Windows using WinFUSE (it can't use WinFSP because it needs the lowlevel API), but upon running the testsuite I get this error from the fuse library:

fuse: unknown option(s): `-o fsname=pyfuse3_testfs,default_permissions'

I'm not sure why this is failing because the options look valid to me, and they work on Linux.

@billziss-gh
Copy link
Owner

Linux and windows treat command line arguments differently.

Pass it as one option: "-ofsname=…", or as two options: "-o", "fsname=…"

@RayyanAnsari
Copy link
Author

RayyanAnsari commented Feb 21, 2023

I have passed it as one argument this time, but I still get the same error:

f_args.argv[0] = "pyfuse3"
f_args.argv[1] = "-ofsname=pyfuse3_testfs,default_permissions"
fuse: unknown option(s): `-o fsname=pyfuse3_testfs,default_permissions'

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