FUSE (Filesystem in Userspace) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. Fuse also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): https://github.com/libfuse/libfuse/releases/download/fuse-3.1.1/fuse-3.1.1.tar.gz
Download MD5 sum: 20b10f24b825062c1db9a21a35157f97
Download size: 804 KB
Estimated disk space required: 8.5 MB
Estimated build time: 0.1 SBU
Doxygen-1.8.13 (to rebuild the API documentation)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fuse
Enable the following options in the kernel configuration and recompile the kernel if necessary:
File systems --->
<*/M> FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]
Install Fuse by running the following commands:
./configure --prefix=/usr \ --disable-static \ --exec-prefix=/ \ --with-pkgconfigdir=/usr/lib/pkgconfig \ INIT_D_PATH=/tmp/init.d && make
The API documentation is included in the package, but if you have Doxygen-1.8.13 installed and wish to rebuild it, issue doxygen doc/Doxyfile.
This package does not come with a test suite.
Now, as the root
user:
make install && rm -v /lib/libfuse3.{so,la} && ln -sfv ../../lib/libfuse3.so.3 /usr/lib/libfuse3.so && rm -rf /tmp/init.d && install -v -m755 -d /usr/share/doc/fuse-3.1.1 && install -v -m644 doc/{README.NFS,kernel.txt} \ /usr/share/doc/fuse-3.1.1 && cp -Rv doc/html /usr/share/doc/fuse-3.1.1
--disable-static
: This
switch prevents installation of static versions of the libraries.
--exec-prefix=/
: This
parameter moves programs and libraries that could be needed before
the /usr
directory is mounted, to the
root filesystem.
INIT_D_PATH=/tmp/init.d
:
This parameter installs the bootscript into /tmp/init.d
as a bootscript is not required.
rm -rf /tmp/init.d: This removes the unneeded bootscript.
Some options regarding mount policy can be set in the file
/etc/fuse.conf
. To install the file
run the following command as the root
user:
cat > /etc/fuse.conf << "EOF" # Set the maximum number of FUSE mounts allowed to non-root users. # The default is 1000. # #mount_max = 1000 # Allow non-root users to specify the 'allow_other' or 'allow_root' # mount options. # #user_allow_other EOF
Additional information about the meaning of the configuration options are found in the man page.
Last updated on 2017-08-24 15:03:00 -0700