5.8.10 なので大丈夫なはず F2FS Data Compression Using LZO/LZ4 + Selective File Extension Handling To Land In 2020 - Phoronix F2FS Introduces Zstd Compression Support With The Linux 5.7 Kernel - Phoronix 12 / 26
CONFIG_F2FS_STAT_FS=y CONFIG_F2FS_FS_XATTR=y CONFIG_F2FS_FS_POSIX_ACL=y CONFIG_F2FS_FS_SECURITY=y # CONFIG_F2FS_CHECK_FS is not set # CONFIG_F2FS_IO_TRACE is not set # CONFIG_F2FS_FAULT_INJECTION is not set # CONFIG_F2FS_FS_COMPRESSION is not set 13 / 26
CONFIG_F2FS_FS_XATTR=y CONFIG_F2FS_FS_POSIX_ACL=y CONFIG_F2FS_FS_SECURITY=y # CONFIG_F2FS_CHECK_FS is not set # CONFIG_F2FS_IO_TRACE is not set # CONFIG_F2FS_FAULT_INJECTION is not set CONFIG_F2FS_FS_COMPRESSION=y CONFIG_F2FS_FS_LZO=y CONFIG_F2FS_FS_LZ4=y CONFIG_F2FS_FS_ZSTD=y CONFIG_F2FS_FS_LZORLE=y 15 / 26
data compression This patch adds to support compression, introducing '-O compression' option to enable this feature in image. $ dpkg-query -W f2fs-tools f2fs-tools 1.11.0-1.1 18 / 26
mount -o compress_algorithm=zstd /dev/sdb1 /mnt $ mount | grep /mnt /dev/sdb1 on /mnt type f2fs (rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr, 21 / 26
https://www.kernel.org/doc/Documentation/ lesystems/f2fs.txt To enable compression on regular inode, there are three ways: chattr +c file chattr +c dir; touch dir/file mount w/ -o compress_extension=ext; touch file.ext 24 / 26