-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve/define FreeBSD support #173
Comments
Thanks for the report! Could you confirm that the commit above fixes the issue (and still results in a working build)? |
It proceeds past the libdl issue but runs into a problem with mntent.h not being found during the build:
I think the ./configure version of the build on FreeBSD does not build this - since you just can use 'umount'. |
Hmm. Using How do non-privileged mounts work on FreeBSD? Is FUSE only available to root, or is there special fuse support in |
I ran into the auto_unmount issues when testing some of the tests & examples, so yes I think that's not supported. (That was a new option to me.) fuse: unknown option(s): `-o auto_unmount' FreeBSD proper has a mount.fuse helper: Going too much further down this path (from just basic compile issues), we may be duplicating effort that the FreeBSD ports maintainers have already taken care of in the fuse port. I'm actually not building this for FreeBSD, but a commercial OS that's based on the FreeBSD kernel, so some of these issues do not strictly apply to me (and I'm not super familiar with any modifications they may have done in the FreeBSD port.) Not sure how much more time you want to spend on it, or whether it has historically been expected that the reference source would work smoothly out of the box on non-Linux systems. I'm happy to keep plugging at it if you want, though. |
Er, to clarify: all the above is from FreeBSD. That is not my end goal, but it is a useful proxy. |
I'd be happy to improve support for FreeBSD, or at the very least determine what the current status is. I have never used FreeBSD though, so appreciate any help you can give. For example, the |
Sure, I can look further into it. It looks like fbsd ports is still on 2.9.5. Does that change the question any? |
Not really, no :-). Thanks! |
@bnaylor Did you have a chance to look into this? |
Not yet, sorry. Been a holiday, kind of did non-computer things. Will check it out this week. |
I realized that I've been following in fbsd's footsteps as I try to get things working in Ontap - could have saved a little time by tracking these questions down first. Many 3rd party utilities are provided in FreeBSD via the 'ports' collection, which is an organized set of Makefiles and patches to the stock source that can be fetched and built by end users if the ports collection isn't installed already. For libfuse, here are the patches they're applying to the utils: https://svn.freebsd.org/ports/head/sysutils/fusefs-libs/files/ |
But, it looks like mount_fusefs is not coming from the port. There is a separate version that is maintained |
Thanks! The patches in the port also seem to be mostly about removing stuff that I thought was in there specifically for FreeBSD. It seems that the best way forward is just to not build fusermount on BSD at all, and rely on the core system to provide it (dropping the auto-unmount feature). Does that make sense? |
Yes, it looks like that's what's happening by way of their current system anyway. It is a little confusing (to me, anyway) but I'm sure they have their reasons, and it means you don't need to worry about it. |
I've asked on the freebsd-fs and freebsd-fuse lists for advice just in case. |
All FreeBSD-port specific patches have now been merged. Would anyone be able to test it? |
(please re-open this issue if you encounter any problems). |
Meson wants to use -ldl but this is not required on FreeBSD, that functionality is built into libc.
The text was updated successfully, but these errors were encountered: