A Go package for implementing a FUSE file system (fork with 'almost' zero-copy read/write)
Go to file
Aaron Jacobs 5921525aab Removed special handling of statfs. 2015-09-09 09:49:54 +10:00
fsutil Fixed fdatasync build errors on linux. 2015-03-24 12:32:56 +11:00
fuseops Added FileSystem.StatFS. 2015-09-09 09:47:48 +10:00
fusetesting Fixed test failures on OS X. 2015-08-14 09:26:12 +10:00
fuseutil Added FileSystem.StatFS. 2015-09-09 09:47:48 +10:00
internal Made the message shrinking API less confusing. 2015-08-10 15:45:46 +10:00
samples MemFSTest.Statfs 2015-09-09 09:28:05 +10:00
.gitignore Ignore vim swap files. 2015-08-11 05:54:05 +00:00
.travis.yml Enabled Travis CI. 2015-07-21 21:55:40 +10:00
LICENSE Upated the license file. 2015-07-24 15:40:31 +10:00
README.md Reworked the readme. 2015-07-27 11:53:29 +10:00
connection.go Removed special handling of statfs. 2015-09-09 09:49:54 +10:00
conversions.go Removed special handling of statfs. 2015-09-09 09:49:54 +10:00
debug.go Improved setattr debug logging. 2015-08-11 06:33:18 +00:00
doc.go Added a callout to fuseutil.NewFileSystemServer. 2015-03-25 09:18:56 +11:00
errors.go Fixed a couple of out of date references. 2015-07-27 15:44:54 +10:00
freelists.go Began fixing Connection. 2015-07-28 16:13:18 +10:00
mount.go Pay attention to DisableWritebackCaching. 2015-08-12 02:32:39 +00:00
mount_config.go Added a missing full stop. 2015-08-12 14:47:30 +10:00
mount_darwin.go Removed a TODO that doesn't belong to me. 2015-07-24 16:36:40 +10:00
mount_linux.go Gave mount a makeover. 2015-07-24 16:18:07 +10:00
mounted_file_system.go Moved Mount into its own file. 2015-08-11 10:54:52 +10:00
ops.go Removed special handling of statfs. 2015-09-09 09:49:54 +10:00
unmount.go Fixed unmount.go. 2015-07-24 16:20:44 +10:00
unmount_linux.go Fixed a build error on Linux. 2015-07-24 16:22:33 +10:00
unmount_std.go Fixed unmount_std.go. 2015-07-24 16:21:18 +10:00

README.md

GoDoc

This package allows for writing and mounting user-space file systems from Go. Install it as follows:

go get -u github.com/jacobsa/fuse

Afterward, see the documentation for the following three packages:

  • Package fuse provides support for mounting a new file system and reading requests from the kernel.

  • Package fuseops enumerates the supported requests from the kernel, and provides documentation on their semantics.

  • Package fuseutil, in particular the FileSystem interface, provides a convenient way to create a file system type and export it to the kernel via fuse.Mount.

Make sure to also see the sub-packages of the samples package for examples and tests.

This package owes its inspiration and most of its kernel-related code to bazil.org/fuse.