First of all, thank you for this simple but quite robust little program. It's working way better for my needs than archivemount or archivefs. I am using fuse-archive quite extensively on FreeBSD (and possibly soon on macOS using the closed source macFUSE) and had to make some small adaptations for it to work.
I left some code to print verbose messages on failure in foreground mode
I don't free() the allocated full path string as doing it in every possible case would modify too much code and the OS will free the heap anyway. If you consider that too much of a bad practice, I am very open to clean it on exit.
I have not amended the Makefile to change prefix to /usr/local, as having a conditional Makefile compatible both with BSD and GNU variants is burdensome
fuse-archive is working great if linked with FreeBSD's internal version of libarchive (so.7) (which was made by/for FreeBSD at first), but you may want to install the package to get the latest version (so.13). pkg install fusefs-libs && kldload fuse is necessary.
As this is a small contribution, I have not amended AUTHORS nor CONTRIBUTORS files, but I've signed the Google Individual CLA. Feel free to update those files if you consider it appropriate.
Hello,
First of all, thank you for this simple but quite robust little program. It's working way better for my needs than archivemount or archivefs. I am using fuse-archive quite extensively on FreeBSD (and possibly soon on macOS using the closed source macFUSE) and had to make some small adaptations for it to work.
pkg install fusefs-libs && kldload fuse
is necessary.