From mboxrd@z Thu Jan  1 00:00:00 1970
From: Stefan Schantl <stefan.schantl@ipfire.org>
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>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3527889317539581140=="
List-Id: <development.lists.ipfire.org>

--===============3527889317539581140==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 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]))
-- 
2.39.2


--===============3527889317539581140==--