Filesystem in Userspace
3.7.0 / 27 September 2019
|Operating system||Unix Unix-like|
|Type||File system driver|
|License||GPL for kernel part, LGPL for Libfuse, Simplified BSD on FreeBSD, ISC license on OpenBSD|
Filesystem in Userspace (FUSE) is a software interface for Unix and Unix-like computer operating systems that lets non-privileged users create their own file systems without editing kernel code. This is achieved by running file system code in user space while the FUSE module provides only a "bridge" to the actual kernel interfaces.
FUSE was originally released under the terms of the GNU General Public License and the GNU Lesser General Public License, later also reimplemented as part of the FreeBSD base system and released under the terms of Simplified BSD license. An ISC-licensed re-implementation by Sylvestre Gallon was released in March 2013, and incorporated into OpenBSD in June 2013.
Operation and Usage
To implement a new file system, a handler program linked to the supplied
libfuse library needs to be written. The main purpose of this program is to specify how the file system is to respond to read/write/stat requests. The program is also used to mount the new file system. At the time the file system is mounted, the handler is registered with the kernel. If a user now issues read/write/stat requests for this newly mounted file system, the kernel forwards these IO-requests to the handler and then sends the handler's response back to the user.
FUSE is particularly useful for writing virtual file systems. Unlike traditional file systems that essentially work with data on mass storage, virtual filesystems don't actually store data themselves. They act as a view or translation of an existing file system or storage device.
In principle, any resource available to a FUSE implementation can be exported as a file system.
- Borg (backup software): Deduplicating backup program that allows backup archives to be mounted as FUSE filesystems.
- CloudStore (formerly, Kosmos filesystem): By mounting via FUSE, existing Linux utilities can interact with CloudStore
- EncFS: Encrypted virtual filesystem
- ExpanDrive: A commercial filesystem implementing SFTP/FTP/S3/Swift using FUSE
- GlusterFS: Clustered Distributed Filesystem having ability to scale up to several petabytes.
- goofys: A FUSE filesystem that allows access to Amazon S3/Microsoft Azure storage with an emphasis on performance.
- GVfs: The virtual filesystem for the GNOME desktop
- IPFS: A peer-to-peer distributed file system that seeks to connect all computing devices with the same system of files.
- KBFS: A distributed filesystem with end-to-end encryption and a global namespace based on Keybase.io service that uses FUSE to create cryptographically secure file mounts.
- Lustre Cluster filesystem will use FUSE to allow it to run in userspace, so that a FreeBSD port is possible. However, the ZFS-Linux port of Lustre will be running ZFS's DMU (Data Management Unit) in userspace.
- Linear Tape File System: Allows files stored on magnetic tape to be accessed in a similar fashion to those on disk or removable flash drives.
- MinFS: MinFS is a fuse driver for Amazon S3 compatible object storage server. MinFS lets you mount a remote bucket (from a S3 compatible object store), as if it were a local directory.
- MooseFS: An open source distributed fault-tolerant file system available on every OS with FUSE implementation (Linux, FreeBSD, NetBSD, OpenSolaris, OS X), able to store petabytes of data spread over several servers visible as one resource.
- NTFS-3G and Captive NTFS, allowing access to NTFS filesystems.
- s3fs: Gives the ability to mount an S3 bucket as if it were a local file system.
- Sector File System: Sector is a distributed file system designed for large amount of commodity computers. Sector uses FUSE to provide a mountable local file system interface.
- SSHFS: Provides access to a remote filesystem through SSH.
- Transmit: A commercial FTP client that also adds the ability to mount WebDAV, SFTP, FTP and Amazon S3 servers as disks in Finder, via MacFUSE.
- WebDrive: A commercial filesystem implementing WebDAV, SFTP, FTP, FTPS and Amazon S3
- WikipediaFS: View and edit Wikipedia articles as if they were real files
- Wuala: Was a multi-platform, Java-based fully OS integrated distributed file system. Using FUSE, MacFUSE and Callback File System respectively for file system integration, in addition to a Java-based app accessible from any Java-enabled web browser (service discontinued in 2015).
- SPFS A file system for Spectrum Protect, designed to mount the backup server filespace anywhere on your server, and use the features included from the backup server ( encryption, de-duplication, compression, filtrering etc). This is a WORM file system.
- PUFFS, a similar framework with FUSE compatibility
- 9P (protocol)
- Installable File System
- Dokan Library FUSE Windows compatibility
- Windows Projected File System (ProjFS)
- "Releases - libfuse/libfuse". Retrieved 31 Oct 2019 – via GitHub.
- "Home - FUSE for OS X".
- "Some technical advantages of the Hurd". May 15, 2011. Retrieved March 28, 2016.
- "WhatsNew/FreeBSD10 - FreeBSD Wiki".
- "openbsd dev - tech - Fuse (and sshfs) support for OpenBSD".
- "'CVS: cvs.openbsd.org: src' - MARC".
- "file-systems.fuse.devel - FUSE merged to 2.6.14! - msg#00021 - Recent Discussion OSDir.com". Archived from the original on 2016-04-20.
- "Lustre FreeBSD". Archived from the original on 2008-03-12. Retrieved 2008-03-02.
- "Architecture ZFS for Lustre". Sun Microsystems. Retrieved 2008-03-02.
- "minio/minfs". GitHub. Retrieved 12 April 2018.
- Crossmeta FUSE Port of FUSE to Windows
- Develop your own filesystem with FUSE by Sumit Singh
- List of FUSE filesystems
- Documentation/filesystems/fuse.txt documentation in Linux source tree
- a FUSE-like system for Windows (a FUSE compatibility layer is provided for Cygwin)