From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 13/17] installer: Define common mount options for BTRFS volumes Date: Mon, 18 Mar 2024 16:13:03 +0000 Message-ID: <7CCA31D7-88B7-4665-84DF-4AB8C202A84E@ipfire.org> In-Reply-To: <20240315191442.3951-14-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3040700219013093290==" List-Id: --===============3040700219013093290== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 15 Mar 2024, at 19:14, Stefan Schantl wrot= e: >=20 > As default we are using zstd for compression with level 1 >=20 > Signed-off-by: Stefan Schantl > --- > src/installer/hw.h | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/src/installer/hw.h b/src/installer/hw.h > index 2de73a3be..402e5cd0d 100644 > --- a/src/installer/hw.h > +++ b/src/installer/hw.h > @@ -54,6 +54,8 @@ >=20 > #define SERIAL_BAUDRATE 115200 >=20 > +#define BTRFS_MOUNT_OPTIONS "compress=3Dzstd:1" Is there no way to configure this in the filesystem when it is being created = to be used as default? I think it would be nicer to have a less busy /etc/fstab. > + > #define BYTES2MB(x) ((x) / 1024 / 1024) > #define MB2BYTES(x) ((unsigned long long)(x) * 1024 * 1024) >=20 > --=20 > 2.39.2 >=20 --===============3040700219013093290==--