Originally posted by Azrael5
View Post
You don't need to recompile kernel(ext4/btrfs/xfs is usually provided as module, not as kernel buitin). You simply put f2fs kernel module into initrd/initramfs (usually it's done automatically on most distros on initramfs/initrd regenaration, sometimes you need to point f2fs in some /etc/dracut/initrd/initramfs.conf (or simething like that).
Another thing is bootloader supporting f2fs, or you can put /boot on external partition.
and you must rememver that because linux kernel supports some (experimental or not) features of some filesystem, it doesn't mean that GRUB supporting some filesystem will support all features(usually GRUB and other bootloaders supports only some basic and read-only featureset of filesystem. in case of BTRFS you needed to be careful, because at 1st there was no BTRFs support, later gzip compression support and later you needed t owait another year to use ZSTD compression. you even needed few years to get LUKS2 implemented[recently[, and be defaylt cryptsetup created LUKS2 containers(not LUKS1)
Comment