Fuse-3.4.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 5. File Systems and Disk Management

- Prev

  dosfstools-4.1

- Next

  Fuse-2.9.7

- Up
- Home

# Fuse-3.4.1

## Introduction to Fuse

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.4 platform.

### Package Information

- Download (HTTP): https://github.com/libfuse/libfuse/releases/download/fuse-3.4.1/fuse-3.4.1.tar.xz

- Download MD5 sum: 68eac68b19997bea69c4d94f110003f0

- Download size: 1.0 MB

- Estimated disk space required: 20 MB

- Estimated build time: less than 0.1 SBU

### Fuse Dependencies

#### Optional

Doxygen-1.8.15 (to rebuild the API documentation)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fuse

## Kernel Configuration

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]

## Installation of Fuse

Install Fuse by running the following commands:

    sed -i '/^udev/,$ s/^/#/' util/meson.build &&

    mkdir build &&
    cd    build &&

    meson --prefix=/usr .. &&
    ninja

The API documentation is included in the package, but if you have Doxygen-1.8.15 installed and wish to rebuild it, issue doxygen doc/Doxyfile.

This package does not come with a test suite.

Now, as the `root` user:

    ninja install                                             &&

    mv -vf   /usr/lib/libfuse3.so.3*     /lib                 &&
    ln -sfvn ../../lib/libfuse3.so.3.4.1 /usr/lib/libfuse3.so &&

    mv -vf /usr/bin/fusermount3  /bin         &&
    mv -vf /usr/sbin/mount.fuse3 /sbin        &&
    chmod u+s /bin/fusermount3                &&

    install -v -m755 -d /usr/share/doc/fuse-3.4.1      &&
    install -v -m644    ../doc/{README.NFS,kernel.txt} \
                        /usr/share/doc/fuse-3.4.1      &&
    cp -Rv ../doc/html  /usr/share/doc/fuse-3.4.1

## Command Explanations

sed ... util/meson.build: This command disables the installation of a boot script and udev rule that are not needed.

mv ... libfuse3.so.3*; ln ... libfuse3.so: These commands install the libraries in the /lib directory.

## Configuring fuse

### Config Files

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.

## Contents

Installed Programs: fusermount3, mount.fuse3
Installed Libraries: libfuse3.so
Installed Directory: /usr/include/fuse3 and /usr/share/doc/fuse-3.4.1

### Short Descriptions

fusermount3 | is a suid root program to mount and unmount Fuse filesystems.
mount.fuse3 | is the command mount calls to mount a Fuse filesystem.
`libfuse3.so` | contains the FUSE API functions.

Last updated on 2019-02-16 03:24:48 -0600

- Prev

  dosfstools-4.1

- Next

  Fuse-2.9.7

- Up
- Home