From 93c1dde4190ecde415de3a47ba42163306b06998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 20 Sep 2024 15:02:25 +0200 Subject: [PATCH] tests/f2fs: add compression This is a regression test for shellcheck, where we had to disable SC2054 --- example/f2fs.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/example/f2fs.nix b/example/f2fs.nix index f5a1e8f..838b1a1 100644 --- a/example/f2fs.nix +++ b/example/f2fs.nix @@ -23,6 +23,13 @@ type = "filesystem"; format = "f2fs"; mountpoint = "/"; + extraArgs = [ + "-O" + "extra_attr,inode_checksum,sb_checksum,compression" + ]; + mountOptions = [ + "compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime,nodiscard" + ]; }; }; }; @@ -31,4 +38,3 @@ }; }; } -