diff options
author | Killian De Volder <killian.de.volderc@megasoft.be> | 2017-03-28 17:35:07 +0200 |
---|---|---|
committer | Killian De Volder <killian.de.volderc@megasoft.be> | 2017-03-28 17:35:07 +0200 |
commit | 165dcf1edaae432ec6f56408fd58eb5ec448345f (patch) | |
tree | 9d1e159bc3bdbf249c30436c5a7587d47323dfcb | |
parent | 7db805786256eb1e666c14f54b5393db185a29ac (diff) |
Added information about static binaries.
-rw-r--r-- | FAQ.mdwn | 13 | ||||
-rw-r--r-- | Howto.mdwm | 8 |
2 files changed, 21 insertions, 0 deletions
@@ -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. + + + @@ -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. |