10 releases

0.4.1 Feb 7, 2021
0.4.0 Dec 15, 2020
0.3.3 Jan 10, 2020
0.3.0 Dec 27, 2019
0.1.1 Nov 18, 2019

#1121 in Filesystem

Download history 2/week @ 2024-02-12 1/week @ 2024-02-19 38/week @ 2024-02-26 23/week @ 2024-03-04 67/week @ 2024-03-11

129 downloads per month
Used in 4 crates

MIT/Apache

155KB
4.5K SLoC

polyfuse

A FUSE (Filesystem in Userspace) library for Rust.


polyfuse is a library for implementing filesystems based on Filesystem in Userspace (FUSE) in Rust.

The goal of this project is to provide a Rust FUSE library that has a high affinity with the async/.await syntax stabilized in Rust 1.39.

Platform Requirements

Currently, polyfuse only supports the Linux platforms with the FUSE ABI version is 7.23 or higher. The required kernel version is Linux 3.15 or later.

Adding support for other Unix platform running FUSE (FreeBSD, macOS, and so on) is a future work.

In order to establish the connection with the FUSE kernel driver, the command fusermount must be installed on the platform where the filesystem runs. This binary is typically including in the fuse package provided by the distribution's package system.

On Debian/Ubuntu or other APT based distributions:

$ sudo apt-get install fuse

On Fedora/RHEL or other RPM based distributions:

$ sudo dnf install fuse

On Arch Linux or other Pacman based distributions:

$ sudo pacman -S fuse2

Resources

License

This library is licensed under either of

at your option.

Dependencies

~3MB
~53K SLoC