State of FUSE on FreeBSD

Baptiste Daroussin bapt at FreeBSD.org
Thu Aug 3 11:57:07 UTC 2017


On Thu, Aug 03, 2017 at 01:38:28PM +0200, Nikolaus Rath wrote:
> Hello,
> 
> I am the upstream maintainer of libfuse. I'd like to refresh / improve
> the FreeBSD support in libfuse. My goal is for libfuse not to require
> any FreeBSD specific patches.
> 
> After taking a look at
> https://github.com/freebsd/freebsd/tree/master/sbin/mount_fusefs,
> https://svn.freebsd.org/ports/head/sysutils/fusefs-libs/, and
> https://github.com/libfuse/libfuse/issues/173, it seems to me that:
> 
> - A lot of upstream code that was actually intended to support FreeBSD
>   is actually patched out when libfuse is installed via ports.
> 
> - The mount.fusefs and fusermount binaries are not installed from
>   libfuse at all, and are instead provided by a "sysutils/fusefs-libs"
>   package(?)
> 
> - Some additional patches are necessary to get libfuse to work.
> 
> 
> Is that correct so far, or am I looking at the wrong place?

Yes it it :)
> 
> 
> If so, my tentative plan would be to:
>  
> - Not build fusermount and mount.fusefs on FreeBSD at all. This would
>   allow getting rid of mount_bsd.c (and the corresponding patch)
>   completely.

It is correct, we don't need those (not that right now the package fusefs-libs
is a bit wrong because it still installs the fusermount manpage beside not
installing the utility itself.)
>   
> - Integrate the helper.c patch upstream using #ifdefs

Correct
> 
> - As far as I can tell, the mount_util.[ch] patch is a no-op that should
>   be dropped anyway.

Correct the patch are leftovers from the time we didn't have mount_fusefs in
base, so they are now "useless" for us.
> 
> 
> Personally, I don't use FreeBSD and I don't have an easy way to test on
> FreeBSD either. So I would appreciate any input.

I can help you testing if you need, do not hesitate to bother me :)

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170803/63b41d6b/attachment.sig>


More information about the freebsd-ports mailing list