You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
Cgofuse is a cross-platform FUSE library for Go. It is implemented using [cgo](https://golang.org/cmd/cgo/) and can be ported to any platform that has a FUSE implementation.
9
9
10
-
Cgofuse currently runs on **OSX**, **Linux** and **Windows** (using [WinFsp](https://github.com/billziss-gh/winfsp)).
10
+
Cgofuse currently runs on **OSX**, **FreeBSD**, **Linux** and **Windows** (using [WinFsp](https://github.com/billziss-gh/winfsp)).
11
11
12
12
## How to build
13
13
@@ -19,13 +19,22 @@ Cgofuse currently runs on **OSX**, **Linux** and **Windows** (using [WinFsp](htt
19
19
$ go install -v ./fuse ./examples/memfs ./examples/passthrough
20
20
```
21
21
22
+
**FreeBSD**
23
+
- Prerequisites: fusefs-libs, clang
24
+
- Build:
25
+
```
26
+
$ cd cgofuse
27
+
$ go install -v ./fuse ./examples/memfs ./examples/passthrough
28
+
```
29
+
22
30
**Linux**
23
31
- Prerequisites: libfuse-dev, gcc
24
32
- Build:
25
33
```
26
34
$ cd cgofuse
27
35
$ go install -v ./fuse ./examples/memfs ./examples/passthrough
28
36
```
37
+
29
38
**Windows**
30
39
- Prerequisites: [WinFsp](https://github.com/billziss-gh/winfsp), gcc (e.g. from [Mingw-builds](http://mingw-w64.org/doku.php/download))
31
40
- Build:
@@ -49,6 +58,8 @@ You can easily cross-compile your project using [xgo](https://github.com/karalab
Cross-compilation only works for OSX, Linux and Windows only.
62
+
52
63
## How to use
53
64
54
65
User mode file systems are expected to implement `fuse.FileSystemInterface`. To make implementation simpler a file system can embed ("inherit") a `fuse.FileSystemBase` which provides default implementations for all operations. To mount a file system one must instantiate a `fuse.FileSystemHost` using `fuse.NewFileSystemHost`.
0 commit comments