blob: 0eb23d0d18074eaf7dfa2a8a4529b0a4837127d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#Build the bcachefs-tools
Firt run the following command to download the bcachefs-tools.
git clone https://evilpiepirate.org/git/bcachefs-tools.git
This will create a direcorty `bcachefs-tools`.
In this direcorty you will find a file named INSTALL.
This file contains the depencies and some instructions.
To instal run as root:
make && make install
#Build the bcachefs-tools statically linked.
NOTE: Does not appear to work yet.
Follow the steps above.
But run the following command instead.
CFLAGS="-static "LDFLAGS="-static" make
Please take note that you also need a static version installed of all required libraries.
#Build the bcachefs-kernel branch.
Firt run the following command to download a kernel branch with the bcachefs patches.
git clone https://evilpiepirate.org/git/bcachefs.git
This is slighly more complicated to explain.
It's best you look up a tutorial for your specific distribution.
During the configuration make sure you enable `CONFIG_BCACHE_FS`.
To check run `grep CONFIG_BCACHE_FS .config` in in the kernel source.
Tip if your distro kernel supports it you can extract the `.config` used by your distribution,
by running `cat /proc/config.gz | gunzip > /tmp/distro.config`.
|