Skip to content

Commit e491ee9

Browse files
authored
Update fuse docs with FreeBSD specifics (#10820)
Closes #8846
1 parent 8f87a69 commit e491ee9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/fuse.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,21 @@ go get github.com/jbenet/go-fuse-version/fuse-version
4848
If you run into any problems installing FUSE or mounting IPFS, hop on IRC and
4949
speak with us, or if you figure something new out, please add to this document!
5050

51+
#### FreeBSD
52+
```sh
53+
sudo pkg install fusefs-ext2
54+
```
55+
56+
Load the fuse kernel module:
57+
```sh
58+
sudo kldload fusefs
59+
```
60+
61+
To load automatically on boot:
62+
```sh
63+
sudo echo fusefs_load="YES" >> /boot/loader.conf
64+
```
65+
5166
## Prepare mountpoints
5267

5368
By default ipfs uses `/ipfs`, `/ipns` and `/mfs` directories for mounting, this can be
@@ -107,6 +122,11 @@ ipfs config --json Mounts.FuseAllowOther true
107122
ipfs daemon --mount
108123
```
109124

125+
If using FreeBSD, it is necessary to run `ipfs` as root:
126+
```sh
127+
sudo HOME=$HOME ipfs daemon --mount
128+
```
129+
110130
## MFS mountpoint
111131

112132
Kubo v0.35.0 and later supports mounting the MFS (Mutable File System) root as

0 commit comments

Comments
 (0)