Skip to content
Projetos

Sobre

Bindings do FUSE para Go

Ferramentas de desenvolvimento

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+1
em 7 dias
+5
em 15 dias
+7
em 1 mês
+13

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Go-FUSE

CI GoDoc

Go native bindings for the FUSE kernel module.

Use github.com/hanwen/go-fuse/v3/fs library. It follows the wire protocol closely, but provides convenient abstractions for building both node and path based file systems

Release notes

  • v3: changes in v3, and how to upgrade from v2.
  • v2: v2.5 to v2.12.

Notable users

Projects that use go-fuse, with their GitHub stars as of November 2026:

Project Stars Use
rclone 61k rclone mount for cloud storage
SeaweedFS 36k weed mount (through a fork)
Kubo (IPFS) 17k mounting IPFS and IPNS
JuiceFS 15k distributed POSIX file system (through a fork)
Kopia 15k mounting backup snapshots
Pachyderm 6k mounting data repositories
gocryptfs 5k encrypted overlay file system
Velociraptor 4k mounting collected files
onedriver 2k Microsoft OneDrive client
Stargz Snapshotter 2k lazy pulling of container images
Cloud SQL Auth Proxy 1k Unix sockets for database instances
SOCI Snapshotter 1k lazy pulling of container images
Buildbarn 171 virtual file system for remote build workers

Comparison with other FUSE libraries

See docs/comparison.md for a feature comparison with other FUSE libraries for Go.

Examples

  • example/hello/ contains a 60-line "hello world" filesystem

  • zipfs/zipfs contains a small and simple read-only filesystem for zip and tar files. The corresponding command is in example/zipfs/ For example,

    mkdir /tmp/mountpoint
    example/zipfs/zipfs /tmp/mountpoint file.zip &
    ls /tmp/mountpoint
    fusermount -u /tmp/mountpoint
    
  • zipfs/multizipfs shows how to use combine simple Go-FUSE filesystems into a larger filesystem.

  • example/loopback mounts another piece of the filesystem. Functionally, it is similar to a symlink. A binary to run is in example/loopback/ . For example

    mkdir /tmp/mountpoint
    example/loopback/loopback -debug /tmp/mountpoint /some/other/directory &
    ls /tmp/mountpoint
    fusermount -u /tmp/mountpoint
    

macOS Support

See docs/macos.md for macFUSE and FSKit support and their limitations.

Windows Support

See docs/windows.md for mounting on Windows through WinFsp.

Credits

Bugs

Report them through https://github.com/hanwen/go-fuse/issues. Please include a debug trace (set fuse.MountOptions.Debug to true).

License

Like Go, this library is distributed under the new BSD license. See accompanying LICENSE file.

Explore projetos relacionados

Carregando…