summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FAQ.mdwn13
-rw-r--r--Howto.mdwm8
2 files changed, 21 insertions, 0 deletions
diff --git a/FAQ.mdwn b/FAQ.mdwn
index d83ddca..b6c64ad 100644
--- a/FAQ.mdwn
+++ b/FAQ.mdwn
@@ -18,3 +18,16 @@ the new filesystem.
## Does bcachefs still have the bcache caching functionality of block devices ?
No.
+
+## Where do I obtain statically linked bcachefs-tool (for use in initramfs) ?
+
+You can either compile them yourself from source,
+or refer to your distribution on how to obtain a statically linked set.
+
+About:
+Statically linked programs have all the required dependencies compiled in.
+As such, they require no external libraries at runtime.
+This does however increase the size of the binary.
+
+
+
diff --git a/Howto.mdwm b/Howto.mdwm
index 36ccab5..a66fe1a 100644
--- a/Howto.mdwm
+++ b/Howto.mdwm
@@ -12,6 +12,14 @@ 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.