From c69bc096181b8e1d284f5f76f64da7f679a6db58 Mon Sep 17 00:00:00 2001 From: Killian De Volder Date: Tue, 28 Mar 2017 17:36:43 +0200 Subject: Corrected a misnamed file from mdwm to mdwn. --- Howto.mdwn | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Howto.mdwn (limited to 'Howto.mdwn') diff --git a/Howto.mdwn b/Howto.mdwn new file mode 100644 index 0000000..a66fe1a --- /dev/null +++ b/Howto.mdwn @@ -0,0 +1,36 @@ +#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. +Follow the steps above. +But run the following command instead. + + EXTRA_CFLAGS="-static" make && make install + +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`. -- cgit v1.2.3