From patchwork Fri Mar 15 19:14:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 7633 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 4TxDTl5dnfz3wv4 for ; Fri, 15 Mar 2024 19:15:07 +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 4TxDTk1RGvzFLF; Fri, 15 Mar 2024 19:15:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4TxDTk0vTyz32p6; Fri, 15 Mar 2024 19:15:06 +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 4TxDTZ3Gn5z32P8 for ; Fri, 15 Mar 2024 19:14:58 +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 4TxDTX5C7lzFLY; Fri, 15 Mar 2024 19:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1710530096; 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=fUX6Oz2VsKa9nx4i2y2MNIqdVSTqzYjpt2cDmy1O2Cs=; b=rm1uQtx3PcAiB5dEU2UIbyGW/6XkcHpbbVM6J8dktNPAheVTmCOstRVsCrp8Cp+cX3fjgo 5uFLoi9j46dNIo9/Y+dz/oFIvHqzuGYLJXjfFjlAvceUzkgdVkUqaX6j7aenQtTKQVbwsl E2C6f6Sg/ka+GpbXVoyFhjgEFKomik85iFJZh6y5rmkIeJGkVb7N4OLELq3aprr8xeOG3Q WXvrCTSpzXxnK6ua4mGYfQfeARaneNGLhsUMOdKVc3TZosXyZ4itO2Ol4ExDqgJnuNHWJm 5pF/f8R8vSPICd2X6BEcF5nmn8lpMAMD8pSE78GcpaASDpQ6LUs3JZFYQEG6ag== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1710530096; 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=fUX6Oz2VsKa9nx4i2y2MNIqdVSTqzYjpt2cDmy1O2Cs=; b=t5cBpbg3aGVmNdR+o2lVHyG4NIT0Zacp2ol2tRJm0vDFKh+M/Jb50Pk2zx0F0dT+SuJ007 z+KsTU6jL/qUoEBQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 09/17] installer: Add /var/tmp to the BTRFS layout Date: Fri, 15 Mar 2024 20:14:34 +0100 Message-Id: <20240315191442.3951-10-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: 646JX4QDHVCOODLPB2TGWADMFQ3GWKLM X-Message-ID-Hash: 646JX4QDHVCOODLPB2TGWADMFQ3GWKLM 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: Signed-off-by: Stefan Schantl --- src/installer/hw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index e520fb687..7868cbb23 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -46,14 +46,15 @@ // Array which contains the subvolumes which will be created when installing // IPFire on a BTRFS. -const char* btrfs_subvolumes[7][2] = { +const char* btrfs_subvolumes[8][2] = { {"@root" ,"/"}, {"@snapshots", "/.snapshots"}, {"@home", "/home"}, {"@cache", "/var/cache"}, {"@lib", "/var/lib"}, {"@logs", "/var/log"}, - {"@mails", "/var/mail"} + {"@mails", "/var/mail"}, + {"@tmp", "/var/tmp"} }; #define LEN(arr) ((int) (sizeof (arr) / sizeof (arr)[0]))