Fuse-2.9.7

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

### Chapter 5. File Systems and Disk Management

- Prev

  Fuse-3.4.1

- Next

  jfsutils-1.1.15

- Up
- Home

# Fuse-2.9.7

## 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 only installed for compatibility with Gvfs-1.38.1. It is not needed with other packages. For full fuse functionality, install Fuse-3.4.1 which does not interfere with these instructions.

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-2.9.7/fuse-2.9.7.tar.gz

- Download MD5 sum: 9bd4ce8184745fd3d000ca2692adacdb

- Download size: 646 KB

- Estimated disk space required: 8.2 MB (9.8 MB with API documentation)

- Estimated build time: 0.1 SBU

### Fuse Dependencies

#### Optional

Doxygen-1.8.15 (to rebuild the API documentation)

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

## 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:

    ./configure --prefix=/usr    \
                --disable-static \
                --exec-prefix=/  &&

    make &&
    make DESTDIR=$PWD/Dest install

This package does not come with a test suite.

Now, as the `root` user:

    install -vm755 Dest/lib/libfuse.so.2.9.7 /lib                  &&
    install -vm755 Dest/lib/libulockmgr.so.1.0.1 /lib                 &&
    ln -sfv ../../lib/libfuse.so.2.9.7 /usr/lib/libfuse.so         &&
    ln -sfv ../../lib/libulockmgr.so.1.0.1 /usr/lib/libulockmgr.so &&

    install -vm644  Dest/lib/pkgconfig/fuse.pc /usr/lib/pkgconfig  &&

    install -vm4755 Dest/bin/fusermount       /bin                 &&
    install -vm755  Dest/bin/ulockmgr_server  /bin                 &&

    install -vm755  Dest/sbin/mount.fuse      /sbin                &&

    install -vdm755 /usr/include/fuse                              &&

    install -vm644  Dest/usr/include/*.h      /usr/include         &&
    install -vm644  Dest/usr/include/fuse/*.h /usr/include/fuse/   &&

    install -vm644  Dest/usr/share/man/man1/* /usr/share/man/man1  &&
    /sbin/ldconfig -v

## Command Explanations

`--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.

make DESTDIR=$PWD/Dest install: This command installs the files to a temporary directory, so that the needed files can be installed.

## Configuring fuse

### Config Files

Information on configuring fuse can be found at the section called “Configuring fuse”.

## Contents

Installed Programs: fusermount, mount.fuse, and ulockmgr_server
Installed Libraries: libfuse.so and libulockmgr.so
Installed Directory: /usr/include/fuse

### Short Descriptions

fusermount | is a set users ID root program to mount and unmount Fuse filesystems.
mount.fuse | is the command mount would call to mount a Fuse filesystem.
ulockmgr_server | is the Userspace Lock Manager Server for Fuse filesystems.
`libfuse.so` | contains the FUSE API functions.
`libulockmgr.so` | contains the Userspace Lock Manager API functions.

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

- Prev

  Fuse-3.4.1

- Next

  jfsutils-1.1.15

- Up
- Home