mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Improve FreeBSD compatibility
First draft. Need to investigate why upstream patches include certain function that appear to exist in FreeBSD 14.2.
This commit is contained in:
parent
dd906c8a4c
commit
b83bd5fd14
10 changed files with 117 additions and 27 deletions
|
|
@ -33,9 +33,9 @@ $ su -
|
|||
# rpm -i rpmbuild/RPMS/<arch>/mergerfs-<version>.<arch>.rpm
|
||||
```
|
||||
|
||||
## Generic
|
||||
## Generic Linux
|
||||
|
||||
Have git, g++, make, python installed.
|
||||
Have git, g++ or clang, make, python installed.
|
||||
|
||||
|
||||
```
|
||||
|
|
@ -44,6 +44,17 @@ $ make
|
|||
$ sudo make install
|
||||
```
|
||||
|
||||
## FreeBSD
|
||||
|
||||
Have git, g++ or clang, gmake, python installed.
|
||||
|
||||
```
|
||||
$ cd mergerfs
|
||||
$ gmake
|
||||
$ gmake install # as root
|
||||
```
|
||||
|
||||
|
||||
## Build options
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -81,6 +81,14 @@ wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-<ver>
|
|||
sudo rpm -i mergerfs-<ver>.el<rel>.<arch>.rpm
|
||||
```
|
||||
|
||||
## NixOS
|
||||
|
||||
[search.nixos.org](https://search.nixos.org/packages?channel=unstable&show=mergerfs&from=0&size=50&sort=relevance&type=packages&query=mergerfs)
|
||||
|
||||
```
|
||||
nix-env -iA nixos.mergerfs
|
||||
```
|
||||
|
||||
|
||||
## ArchLinux
|
||||
|
||||
|
|
@ -88,10 +96,15 @@ sudo rpm -i mergerfs-<ver>.el<rel>.<arch>.rpm
|
|||
2. `pacman -S mergerfs`
|
||||
|
||||
|
||||
## Other
|
||||
## Other Linux Distros
|
||||
|
||||
Static binaries are provided for situations where native packages are
|
||||
unavailable.
|
||||
[Check your distro.](../related_projects.md#distributions-including-mergerfs)
|
||||
|
||||
|
||||
## Static Linux Binaries
|
||||
|
||||
If your distro does not package mergerfs there are static binaries
|
||||
provided.
|
||||
|
||||
Get the tarball from the [releases page](https://github.com/trapexit/mergerfs/releases).
|
||||
|
||||
|
|
@ -99,3 +112,13 @@ Get the tarball from the [releases page](https://github.com/trapexit/mergerfs/re
|
|||
wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-static-linux_<arch>.tar.gz
|
||||
sudo tar xvf mergerfs-static-linux_<arch>.tar.gz -C /
|
||||
```
|
||||
|
||||
|
||||
## FreeBSD
|
||||
|
||||
[https://www.freshports.org/filesystems/mergerfs](https://www.freshports.org/filesystems/mergerfs)
|
||||
|
||||
|
||||
```
|
||||
pkg install filesystems/mergerfs
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue