State of FUSE on FreeBSD
Ben RUBSON
ben.rubson at gmail.com
Fri Aug 11 10:58:17 UTC 2017
> On 11 Aug 2017, at 12:42, Nikolaus Rath <Nikolaus at rath.org> wrote:
>
> On Aug 11 2017, Ben RUBSON <ben.rubson at gmail.com> wrote:
>>> # example/hello /mnt
>>> mount_fusefs:
>>> ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
>>> on /mnt: No such file or directory
>>> fuse: failed to mount file system: No error: 0
>>>
>>> Anyone know what this might mean?
>>
>> Same result with libfuse from sysutils/fusefs-libs ?
>
> I don't know. Please keep in mind that I'm not a FreeBSD user. I want to
> help get libfuse to run under FreeBSD, but I do not want to spend much
> time learning FreeBSD.
>
> I don't know how to install sysutils/fusefs-libs, and if I know how to
> install it, I most likely still wouldn't know how to test it (no idea
> how to find out if it comes with example filesystems, or where it
> installs them).
Then, you can list available fuse packages :
# pkg search fusefs
You can install one of them :
# pkg install fusefs-encfs
It will automatically install required dependencies, so it will install fusefs-libs.
This could be a first step to be sure Fuse correctly works on your test machine.
Then you are certainly interested on how fusefs-libs is packaged on FreeBSD.
So, let's get the ports tree :
# portsnap fetch extract
# portsnap fetch update
And let's go to fusefs-libs port :
# cd /usr/ports/sysutils/fusefs-libs
Here you have the package files.
You can see the build required dependencies :
# make build-depends-list
You can install them using pkg if you want, to avoid compiling them :
# make build-depends-list | cut -c 12- | xargs pkg install -y
Let's get all port files :
# make extract
Let's apply patches :
# make patch
Let's build :
# make build
Let's install :
# make install (or make reinstall if it has already been installed before, by pkg for example)
Let's clean everything
# make clean
Here is a quick howto on how it works with FreeBSD.
Of course feel free to ask !
Ben
More information about the freebsd-fs
mailing list