From patchwork Fri Mar 15 19:14:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 7637 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4TxDTz0TtNz3wnw for ; Fri, 15 Mar 2024 19:15:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4TxDTn1KwdzFMP; Fri, 15 Mar 2024 19:15:09 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4TxDTn0KBSz32p6; Fri, 15 Mar 2024 19:15:09 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4TxDTc3239z32pp for ; Fri, 15 Mar 2024 19:15:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4TxDTZ2NGXzFLp; Fri, 15 Mar 2024 19:14:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1710530098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fBbQ9rjJhvrogXnjSGxMVbG9/AEggiobtqr9eRVC9QA=; b=paeoGRtz687WBqetFNr4Og/0GYy+iBZMI83BdJC6JzsGDgkovIxTJmYHwgblGPV3tvwipU /9tT8gkvyfmwdCDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1710530098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fBbQ9rjJhvrogXnjSGxMVbG9/AEggiobtqr9eRVC9QA=; b=q+EIMMh6qfmnnwozAJ62vVOmfEKgDq+17yckQk44oRGI/GLwNpAQ9idiLKgaNdv/CM+wFf cQGXLNPKsJxY9UGlGrFfXV253qPKthjLB0AJe9yu24B6jfimEF78AEV5DQPq4+1OqDclED hUtg/wf93lT2SEtqVwhOcE5qEpgDil6l4MSXqgY83BGiWw/SP4/plMj+le6tDE6dgmcSTX S5pWg4r1yxTlCrIANq1BXTuMdTuU9lq2KT8TxvNnfRkCAUS8wh25T5dmpPTFAIrRhiubQr FjZQZ1GU+d8Vk32LQ94MlRpe4XfVExEtE3gWT+tatErD8XGKNvUIgebRns/yHw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 13/17] installer: Define common mount options for BTRFS volumes Date: Fri, 15 Mar 2024 20:14:38 +0100 Message-Id: <20240315191442.3951-14-stefan.schantl@ipfire.org> In-Reply-To: <20240315191442.3951-1-stefan.schantl@ipfire.org> References: <20240315191442.3951-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: B6NGYJDUS6EEHF3WUGV73VBSD2PCQZ7H X-Message-ID-Hash: B6NGYJDUS6EEHF3WUGV73VBSD2PCQZ7H X-MailFrom: stefan.schantl@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: As default we are using zstd for compression with level 1 Signed-off-by: Stefan Schantl --- src/installer/hw.h | 2 ++ 1 file changed, 2 insertions(+) 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 @@ #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)