Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 12:58:12 +0200
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        Freebsd fs <freebsd-fs@freebsd.org>
Subject:   Re: State of FUSE on FreeBSD
Message-ID:  <DFA4C20D-668A-41B6-BBF0-985F3B1AC0A0@gmail.com>
In-Reply-To: <878tiqfkri.fsf@vostro.rath.org>
References:  <87y3r0ankb.fsf@vostro.rath.org> <87efsifpiu.fsf@vostro.rath.org> <A3A6DC54-5FC7-481F-A679-1E247F5B39D6@gmail.com> <47A5197B-6A83-4819-A6EE-E56ABD31C4B3@gmail.com> <87bmnmfouj.fsf@vostro.rath.org> <FFFC5806-4C5D-4837-9A71-BDD97D76AF25@gmail.com> <878tiqfkri.fsf@vostro.rath.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 11 Aug 2017, at 12:42, Nikolaus Rath <Nikolaus@rath.org> wrote:
>=20
> On Aug 11 2017, Ben RUBSON <ben.rubson@gmail.com> wrote:
>>> # example/hello /mnt
>>> mount_fusefs:
>>> =
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ=
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
>>> on /mnt: No such file or directory
>>> fuse: failed to mount file system: No error: 0
>>>=20
>>> Anyone know what this might mean?
>>=20
>> Same result with libfuse from sysutils/fusefs-libs ?
>=20
> 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.
>=20
> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFA4C20D-668A-41B6-BBF0-985F3B1AC0A0>