User:Maffblaster/Drafts/bcachefs

bcachefs is Article description::a next generation, robust, high performance Linux filesystem supporting CoW, device tiering, compression, and encryption.

Presently bcachefs is not ready to be distributed in the upstream Linux kernel. Those who are interested in using bcachefs must patch their own Linux kernel in order to support it.

Prerequisites
Obtain the patched kernels sources.

Right now it is easier for bcachefs' developer Ken Overstreet to maintain kernel sources with the bcachefs already applied.

Move to the kernel sources directory on Gentoo, then clone the sources ( is required):

Build the kernel
The bcachefs kernel sources will need to be built. With the exceptions of defining any new kernel features and enabling CONFIG_BCACHE_FS, the kernel can be built using the currently running kernel's configuration:

Enable CONFIG_BCACHE_FS :

Build (and install) the kernel, then update the bootloader (GRUB2 presumed):

Emerge
There are presently no USE flags for the package, so simply emerge the package:

NOTE. This is for bcache-tools which is associated with hybrid harddrives bcachefs-tools has been requested on bugzilla with a proposed ebuild https://bugs.gentoo.org/657120