]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
installer: Define common mount options for BTRFS volumes
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 28 Feb 2024 17:34:21 +0000 (18:34 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 28 Feb 2024 17:34:21 +0000 (18:34 +0100)
As default we are using zstd for compression with level 1

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/installer/hw.h

index 2de73a3be824fa9ad8b7e2775f1a2573ea28c7f3..402e5cd0d93a6c21dd6eb068a0752b441a6416b4 100644 (file)
@@ -54,6 +54,8 @@
 
 #define SERIAL_BAUDRATE               115200
 
+#define BTRFS_MOUNT_OPTIONS           "compress=zstd:1"
+
 #define BYTES2MB(x) ((x) / 1024 / 1024)
 #define MB2BYTES(x) ((unsigned long long)(x) * 1024 * 1024)