-
Notifications
You must be signed in to change notification settings - Fork 48
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
Various FreeBSD issues #14
Comments
Thanks for the report! I've never tried to use pyfuse with BSD at all, so you may into all sorts of issues. Happy to accept patches if they not too invasive though. |
I have workarounds for the build time issues, but probably it doesn't make a lot of sense to send patches before I can get it working. Right now I'm not sure how to approach this traceback though. WIll be good to at least figure out if that's pyfuse or trio issue first. Ideas are welcome. |
I suspect the problem is that FreeBSD does not support polling on the fuse descriptor. So it's not an issue in one specific library, trio seems to be using kqueue for polling on FreeBSD, and pyfuse3 passes an fd to trio for which this isn't supported. Maybe trio could be changed to use a different polling primitive - or it may need kernel support. |
I noticed that trio fails to poll even on files like Also, when I try to run some pyfuse examples and it fails, it leaves the mount point:
And I can run my C test program I included in the trio issue on
|
Are there any news for freebsd compatibility? I am looking at pyfuse3 as a successor of unmaintained llfuse (which works on linux, freebsd, macOS, ...) but I need something with at least similar platform support. |
There are a number of issues with pyfuse3 on FreeBSD right now.
Buildtime issues:
src/pyfuse.pyx
, there'sdef syncfs(path)
function that callslibc_extra.syncfs()
, which is expected to be available inunistd.h
. However, there's no such function available on FreeBSD, and, in general, it appears to be Linux-only.src/pyfuse3.pyx
, it's expected thatlinux/fs.h
containsRENAME_EXCHANGE
andRENAME_NOREPLACE
which's not the case on FreeBSD (there's no such header at all).Runtime issues:
I'm yet to debug this traceback further.
The text was updated successfully, but these errors were encountered: